linux-next: suspend tree build failure

From: Stephen Rothwell
Date: Tue Aug 18 2009 - 04:31:07 EST


Hi Rafael,

Today's linux-next build (i386 defconfig) failed like this:

drivers/base/power/main.c: In function 'device_pm_init':
drivers/base/power/main.c:59: error: 'struct dev_pm_info' has no member named 'lock'

Caused by commit ea8e84f27325d9ddc7692f728a10e0a22cd59f52 ("PM: Introduce
core framework for run-time PM of I/O devices (rev. 17)") from the
suspend tree. The i386 defconfig does not have CONFIG_PM_RUNTIME set but
does have CONFIG_PM_SLEEP=y ...

I have reverted that commit for today.

When you add a new CONFIG variable, it is worth doing test builds both
with it turned on and turned off ...

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

Attachment: pgp00000.pgp
Description: PGP signature