--- acpi4asus-0.30/driver/Makefile~ 2005-04-13 14:18:24.000000000 +0100 +++ acpi4asus-0.30/driver/Makefile 2006-11-16 19:43:53.000000000 +0000 @@ -28,7 +28,7 @@ KMODNAME=asus_acpi KMODSRC=asus_core INCLUDE=`./get_include.sh $(KERNELSRC)/drivers/acpi $(KERNELSRC)/include/acpi` -LINUX_VERSION=$(shell grep UTS_RELEASE $(KERNELSRC)/include/linux/version.h | cut -b24) +LINUX_VERSION=$(shell cat $(KERNELSRC)/include/linux/{utsrelease,version}.h 2>/dev/null | grep UTS_RELEASE | cut -b24) include $(KERNELSRC)/.config OBJS = $(KMODSRC).o --- acpi4asus-0.30/driver/asus_core.c 2006-01-17 22:29:28.000000000 +0100 +++ acpi4asus-0.30-patched/driver/asus_core.c 2006-11-10 20:54:52.000000000 +0100 @@ -30,6 +30,7 @@ * */ +#include #include #include #include @@ -1138,7 +1139,7 @@ * HID), this bit will be moved. A global variable asus_info contains * the DSDT header. */ - status = acpi_get_table(ACPI_TABLE_DSDT, 1, &dsdt); + status = acpi_get_table(ACPI_TABLE_ID_DSDT, 1, &dsdt); if (ACPI_FAILURE(status)) printk(KERN_WARNING " Couldn't get the DSDT table header\n"); else