From: Mathias Nyman <mathias.nyman@linux.intel.com>
To: Dave Hansen <dave@sr71.net>
Cc: dave.hansen@linux.intel.com, mathias.nyman@intel.com,
gregkh@linuxfoundation.org, linux-usb@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] xhci: fix warning when CONFIG_PM disabled.
Date: Tue, 01 Sep 2015 10:53:35 +0300 [thread overview]
Message-ID: <55E5597F.6050904@linux.intel.com> (raw)
In-Reply-To: <20150831212654.F4280929@viggo.jf.intel.com>
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
prev parent reply other threads:[~2015-09-01 7:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-31 21:26 [PATCH] xhci: fix warning when CONFIG_PM disabled Dave Hansen
2015-09-01 7:53 ` Mathias Nyman [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55E5597F.6050904@linux.intel.com \
--to=mathias.nyman@linux.intel.com \
--cc=dave.hansen@linux.intel.com \
--cc=dave@sr71.net \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mathias.nyman@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox