Skip to contentSkip to conversation

PM build error (PM_SLEEP undef)

mmotm Randy Dunlap 3 participants 3 messages Mar 19, 2008 – Mar 20, 2008

lore
Share & tools
lore
#0 lore raw

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

---
~Randy

#1 lore raw
Quoted 9 lines · Randy Dunlap

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

#2 lore raw
Quoted 11 lines · Rafael J. Wysocki
Quoted 9 lines · Randy Dunlap

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

Quoted 1 line

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

Ah, ok, I'll catch up on my patch queue tomorrow, been away this week...

thanks,

greg k-h