Re: [mmotm] PM build error (PM_SLEEP undef)

From: Rafael J. Wysocki
Date: Wed Mar 19 2008 - 19:48:38 EST


On Wednesday, 19 of March 2008, Randy Dunlap wrote:
> lots of these when PM_SLEEP not defined: (one example)
>
> mmotm-2008-0318-1720/include/linux/pm_wakeup.h: In function 'device_init_wakeup':
> mmotm-2008-0318-1720/include/linux/pm_wakeup.h:35: error: 'struct dev_pm_info' has no member named 'should_wakeup'
> mmotm-2008-0318-1720/include/linux/pm_wakeup.h: In function 'device_set_wakeup_enable':
> mmotm-2008-0318-1720/include/linux/pm_wakeup.h:45: error: 'struct dev_pm_info' has no member named 'should_wakeup'
> mmotm-2008-0318-1720/include/linux/pm_wakeup.h: In function 'device_may_wakeup':
> mmotm-2008-0318-1720/include/linux/pm_wakeup.h:50: error: 'struct dev_pm_info' has no member named 'should_wakeup'
> make[2]: *** [init/do_mounts.o] Error 1

Fixed patches sent to Greg, hopefully they'll appear in his tree soon.

Thanks,
Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/