* The acerhdf driver isn't an ACPI driver, so it needs not include <acpi/acpi_drivers.h>. All it uses is ec_read() and ec_write(), for which <linux/acpi.h> is sufficient. * I couldn't find any reason why <linux/fs.h> and <linux/sched.h> were included. This should avoid unneeded rebuilds of the acerhdf driver. Signed-off-by: Jean Delvare <khali@xxxxxxxxxxxx> Cc: Peter Feuerer <peter@xxxxxxxx> Cc: Matthew Garrett <mjg@xxxxxxxxxx> --- drivers/platform/x86/acerhdf.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) --- linux-2.6.39-rc4.orig/drivers/platform/x86/acerhdf.c 2011-04-24 14:06:32.000000000 +0200 +++ linux-2.6.39-rc4/drivers/platform/x86/acerhdf.c 2011-04-24 17:56:28.000000000 +0200 @@ -35,10 +35,8 @@ #include <linux/kernel.h> #include <linux/module.h> -#include <linux/fs.h> #include <linux/dmi.h> -#include <acpi/acpi_drivers.h> -#include <linux/sched.h> +#include <linux/acpi.h> #include <linux/thermal.h> #include <linux/platform_device.h> -- Jean Delvare -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html