Re: apic-to-drivermodel conversion

Pavel Machek (pavel@ucw.cz)
Wed, 19 Mar 2003 12:57:42 +0100


Hi!

> > This converts apic code to use driver model. It is neccessary for S3
> > when you are using apic.
>
> Seems to be missing something.

oops, apm.c needs to include <linux/device.h>. Will fix that.
Pavel

> arch/i386/kernel/apm.c: In function `suspend':
> arch/i386/kernel/apm.c:1242: warning: implicit declaration of function `device_suspend'
> arch/i386/kernel/apm.c:1242: `SUSPEND_POWER_DOWN' undeclared (first use in this function)
> arch/i386/kernel/apm.c:1242: (Each undeclared identifier is reported only once
> arch/i386/kernel/apm.c:1242: for each function it appears in.)
> arch/i386/kernel/apm.c:1264: warning: implicit declaration of function `device_resume'
> arch/i386/kernel/apm.c:1264: `RESUME_POWER_ON' undeclared (first use in this function)
> arch/i386/kernel/apm.c: In function `check_events':
> arch/i386/kernel/apm.c:1378: `RESUME_POWER_ON' undeclared (first use in this function)

-- 
Horseback riding is like software...
...vgf orggre jura vgf serr.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/