Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1216653

Re: [PATCH] xhci: fix warning when CONFIG_PM disabled.

From Mathias Nyman <mathias.nyman@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH] xhci: fix warning when CONFIG_PM disabled.
Date 2015-09-01 10:00 +0200
Message-ID <q3OE2-iJ-5@gated-at.bofh.it> (permalink)
References <q3EOn-2Vg-37@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 01.09.2015 00:26, Dave Hansen wrote:
> From: Dave Hansen <dave.hansen@linux.intel.com>
>
> I have a .config with CONFIG_PM disabled.  I get the following
> whenever compiling the xhci driver:
>
> drivers/usb/host/xhci-pci.c:192:13: warning: ‘xhci_pme_quirk’ defined but not used [-Wunused-function]
>
> Looks like we just need to move xhci_pme_quirk() to be underneath
> the CONFIG_PM #ifdef.
>

There is a patch for this already, I'll send it forward right after the merge window

http://marc.info/?l=linux-usb&m=143988457116356&w=2

-Mathias

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] xhci: fix warning when CONFIG_PM disabled. Dave Hansen <dave@sr71.net> - 2015-08-31 23:30 +0200
  Re: [PATCH] xhci: fix warning when CONFIG_PM disabled. Mathias Nyman <mathias.nyman@linux.intel.com> - 2015-09-01 10:00 +0200

csiph-web