]> 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>
Wed, 27 Jul 2011 23:09:09 +0000 (19:09 -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 77255f250dbb7c2afe29aabc640d5227fddf7d08..bcec68d0b13fd56ae6403694471b06e406811b91 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