Re: 2.4.13-pre1: sonypi.c compile error

Stelian Pop (stelian.pop@fr.alcove.com)
Mon, 15 Oct 2001 13:46:42 +0200


On Mon, Oct 15, 2001 at 12:55:48PM +0200, Peter T. Breuer wrote:

> "A month of sundays ago Sander van Geloven wrote:"
> > >
> > > I won't submit a patch to Linus for now, I'm pretty sure that Alan will take care of this for -pre2.
> > > Stelian.
>
> As far as I recall, I have pre2 and it showed this error on compiling the sony
> vaio stuff. I fixed it by adding an extern int declaration for
> is_sony_vaio_laptop in sonypi.c. It was declared in some nonobvious .c file
> far elsewhere, uh, ... arch/i386/kernel/dmi_scan.c.

This time Linus took the changes for dmi_scan.c/sonypi.c etc which
includes now asm-i386/system.h, but he didn't take the changes
for include/asm/system.h :(

Basically, include/asm-i386/system.h needs to contain:
extern int is_sony_vaio_laptop;

Alan, could you please fed Linus the exact patch for the next
pre version ?

Stelian.

-- 
Stelian Pop <stelian.pop@fr.alcove.com>
|---------------- Free Software Engineer -----------------|
| Alcôve - http://www.alcove.com - Tel: +33 1 49 22 68 00 |
|------------- Alcôve, liberating software ---------------|
-
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/