lkml.org 
[lkml]   [2015]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] xhci: fix warning when CONFIG_PM disabled.
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



\
 
 \ /
  Last update: 2015-09-01 10:21    [W:0.046 / U:1.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site