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

From: Stephen Rothwell
Date: Wed Jun 19 2013 - 04:00:43 EST


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.

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature