]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
acpi: sysfs.c needs module.h and not just moduleparam.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 1 Jul 2011 16:02:02 +0000 (12:02 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 25 Aug 2011 17:54:36 +0000 (13:54 -0400)
If it doesn't get it then this line:

MODULE_PARM_DESC(aml_debug_output,
                 "To enable/disable the ACPI Debug Object output.");
will trigger:

drivers/acpi/sysfs.c:229: error: expected ‘)’ before string constant
make[3]: *** [drivers/acpi/sysfs.o] Error 1

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/acpi/sysfs.c

index c538d0ef10ff648de4140eb54f6f7c8c3c7bc88f..577cafe8d23462c1cca7c1be72ff48357a0c56cd 100644 (file)
@@ -4,7 +4,7 @@
 
 #include <linux/init.h>
 #include <linux/kernel.h>
-#include <linux/moduleparam.h>
+#include <linux/module.h>
 #include <acpi/acpi_drivers.h>
 
 #define _COMPONENT             ACPI_SYSTEM_COMPONENT