Subject: Re: linux-next: build warning after merge of the final tree (driver-core tree related)

From: Greg KH <[email-masked]>
Date: Wed, 19 Jun 2013 07:38:14 -0700

On Wed, Jun 19, 2013 at 06:00:27PM +1000, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the final tree, today's linux-next build (powerpc
> allnoconfig among others) produced these warnings:
> 
> drivers/base/firmware_class.c:1254:12: warning: 'cache_firmware' defined but not used [-Wunused-function]
>  static int cache_firmware(const char *fw_name)
>             ^
> drivers/base/firmware_class.c:1281:12: warning: 'uncache_firmware' defined but not used [-Wunused-function]
>  static int uncache_firmware(const char *fw_name)
>             ^
> 
> Revealed by commit 93232e46b209 ("firmware loader: don't export
> cache_firmware and uncache_firmware") from the driver-core tree.  These
> are only used if CONFIG_PM_SLEEP is set.

Odd.  Ming, can you send me a patch for this?

thanks,

greg k-h