]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
acpi: revector aclinux.h from module.h to export.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 26 May 2011 19:49:02 +0000 (15:49 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 27 Jul 2011 23:09:08 +0000 (19:09 -0400)
This file was only including linux/module.h for the
EXPORT_SYMBOL infrastructure, and nothing else.  Revector it
onto the isolated export header for faster compile times.

Doing the above shows that the ACPI hwsleep module was not
actually including <linux/module.h>, so add that in so that
it will continue to build successfully.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/acpi/acpica/hwsleep.c
include/acpi/platform/aclinux.h

index 2ac28bbe8827822f975755b3b7dd7cabab0882a3..d52da307365006f36a067a3f033cad82fd93ff42 100644 (file)
@@ -46,6 +46,7 @@
 #include "accommon.h"
 #include "actables.h"
 #include <linux/tboot.h>
+#include <linux/module.h>
 
 #define _COMPONENT          ACPI_HARDWARE
 ACPI_MODULE_NAME("hwsleep")
index f72403c4b51a6a6c01b3f587202a48a1165c5da5..827dbc172f66d1569830dd12c031568d4752d3ab 100644 (file)
@@ -55,7 +55,7 @@
 
 #include <linux/string.h>
 #include <linux/kernel.h>
-#include <linux/module.h>
+#include <linux/export.h>
 #include <linux/ctype.h>
 #include <linux/sched.h>
 #include <asm/system.h>