Re: 2.4.13-pre1: sonypi.c compile error

From: Alan Cox (
Date: Fri Oct 12 2001 - 02:50:08 EST

> Now this is what we have here, I can not figure the intentions of the
> author:
> static int __init sonypi_init_module(void) {
> if (is_sony_vaio_laptop)
> return pci_module_init(&sonypi_driver);
> else
> return -ENODEV;
> }

is_sony_vaio_laptop is defined by the DMI layer if the machine is a Sony
vaio. It basically says "don't load this on a non vaio"
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