linux-next: build warning after merge of the i2c tree

From: Stephen Rothwell
Date: Sun Mar 28 2010 - 19:55:09 EST


Hi Jean,

After merging the ii2c tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

drivers/i2c/i2c-core.c:159: warning: 'i2c_legacy_suspend' defined but not used
drivers/i2c/i2c-core.c:172: warning: 'i2c_legacy_resume' defined but not used

Introduced by commit 592b0bd0324728fe0aca823951eba06a9494c2f9 ("i2c: Fix
bus-level power management callbacks"). These routines are only called
if CONFIG_PM_SLEEP is defined.

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature