Re: 2.4.13-pre1: sonypi.c compile error

From: Stelian Pop (
Date: Fri Oct 12 2001 - 03:34:33 EST

On Fri, Oct 12, 2001 at 09:03:30AM +1000, Eyal Lebedinsky wrote:

> gcc -D__KERNEL__ -I/data2/usr/local/src/linux-2.4-pre/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
> -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
> -march=i686 -malign-functions=4 -DMODULE -DMODVERSIONS -include
> /data2/usr/local/src/linux-2.4-pre/include/linux/modversions.h
> -DEXPORT_SYMTAB -c sonypi.c
> sonypi.c: In function `sonypi_init_module':
> sonypi.c:702: `is_sony_vaio_laptop_R7462d5e4' undeclared (first use in
> this function)

Just add a
        extern int is_sony_vaio_laptop; /* set in DMI table parse routines */
line somewhere at the beginning of the file drivers/char/sonypi.c

Looks like the driver sync between Linus and Alan was incomplete
this time (Linus took the sonypi driver changes but not the dmi_scan
routine changes).

I won't submit a patch to Linus for now, I'm pretty sure that
Alan will take care of this for -pre2.


Stelian Pop <>
|---------------- Free Software Engineer -----------------|
| Alc˘ve - - 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
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Oct 15 2001 - 21:00:44 EST