]> git.karo-electronics.de Git - linux-beck.git/commitdiff
acpi: add module.h to files implicitly using/relying on it.
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 1 Jul 2011 18:30:49 +0000 (14:30 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:30:32 +0000 (19:30 -0400)
These files are using standard module API things like MODULE_AUTHOR
etc. and so should not be relying on an implicit presence of the
module.h header.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/acpi/acpica/hwsleep.c
drivers/acpi/ec_sys.c
drivers/acpi/sbshc.c

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 22f918bacd35b0186af2328ec68d19b0567b08b9..6c47ae9793a7bf6a5e7c809b22c8d3e2d0d8d6db 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/kernel.h>
 #include <linux/acpi.h>
 #include <linux/debugfs.h>
+#include <linux/module.h>
 #include "internal.h"
 
 MODULE_AUTHOR("Thomas Renninger <trenn@suse.de>");
index f8be23b6c12919f5d31a4cce63908b920f8f3c4b..f8d2a472795c588b8eee51cfa1319fa98a6e132d 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/wait.h>
 #include <linux/slab.h>
 #include <linux/delay.h>
+#include <linux/module.h>
 #include <linux/interrupt.h>
 #include "sbshc.h"