Re: [PATCH] Always define pmu_sys_suspended

2008-03-12 Thread Paul Mackerras
Guido Günther writes: > diff --git a/drivers/macintosh/via-pmu.c b/drivers/macintosh/via-pmu.c > index ebec663..296edcb 100644 > --- a/drivers/macintosh/via-pmu.c > +++ b/drivers/macintosh/via-pmu.c > @@ -2437,8 +2437,8 @@ void pmu_blink(int n) > } > #endif /* DEBUG_SLEEP */ > > -#if defined(C

[PATCH] Always define pmu_sys_suspended

2008-03-08 Thread Guido Günther
Hi, This is a resend, since it's still unfixed in current Linus git and I didn't see any comments (please cc: me since I'm not subscribed): In current Linus git pmu_sys_suspended is only defined if CONFIG_SUSPEND is set, so compilation fails with: drivers/built-in.o: In function `pmu_led_set': vi

[PATCH] Always define pmu_sys_suspended

2008-02-27 Thread Guido Günther
In current Linus git pmu_sys_suspended is only defined if CONFIG_SUSPEND is set, so compilation fails with: drivers/built-in.o: In function `pmu_led_set': via-pmu-led.c:(.text+0x48622): undefined reference to `pmu_sys_suspended' via-pmu-led.c:(.text+0x48626): undefined reference to `pmu_sys_suspen