Re: [PATCH] fix undefined reference to device_power_up/resume

2007-08-24 Thread Olaf Hering
On Sat, Aug 25, Paul Mackerras wrote: > Olaf Hering writes: > > > So change even more places from PM to PM_SLEEP to allow linking. > > What config shows these errors? I presume you need to have CONFIG_PM > but not CONFIG_PM_SLEEP in order to see them? The .config below boots on a wallstreet. a

Re: [PATCH] fix undefined reference to device_power_up/resume

2007-08-24 Thread Al Viro
On Sat, Aug 25, 2007 at 11:10:13AM +1000, Paul Mackerras wrote: > Olaf Hering writes: > > > So change even more places from PM to PM_SLEEP to allow linking. > > What config shows these errors? I presume you need to have CONFIG_PM > but not CONFIG_PM_SLEEP in order to see them? E.g. PM, PPC32, S

Re: [PATCH] fix undefined reference to device_power_up/resume

2007-08-24 Thread Paul Mackerras
Olaf Hering writes: > So change even more places from PM to PM_SLEEP to allow linking. What config shows these errors? I presume you need to have CONFIG_PM but not CONFIG_PM_SLEEP in order to see them? Paul. ___ Linuxppc-dev mailing list Linuxppc-dev@

[PATCH] fix undefined reference to device_power_up/resume

2007-08-24 Thread Olaf Hering
Current Linus tree fails to link on pmac32: drivers/built-in.o: In function `pmac_wakeup_devices': via-pmu.c:(.text+0x5bab4): undefined reference to `device_power_up' via-pmu.c:(.text+0x5bb08): undefined reference to `device_resume' drivers/built-in.o: In function `pmac_suspend_devices': via-pmu.