Thread (78 messages) 78 messages, 10 authors, 2007-07-17

Re: [PATCH v2] via-pmu: remove LED sleep notifier

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2007-05-07 08:57:12

On Mon, 2007-05-07 at 18:47 +1000, Paul Mackerras wrote:
With this patch I get:

  LD      .tmp_vmlinux1
drivers/built-in.o:(.toc1+0x71d8): undefined reference to `pmu_sys_suspended'

with a 64-bit config that has CONFIG_PPC_PMAC=y and CONFIG_PM=n.
Ouch, sorry about that. I suppose I should make it

#ifdef CONFIG_PM
extern int pmu_sys_suspended;
#else
#define pmu_sys_suspended 0
#endif

in the header file. Will look at it again and send an updated patch
later.

johannes

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help