[PATCH 07/11] drivers/pcmcia: include <module.h> for modular xxs1500_ss code

Paul Gortmaker paul.gortmaker at windriver.com
Thu Apr 30 18:47:43 PDT 2015


This file is built off of a tristate Kconfig option and also contains
modular function calls so it should explicitly include module.h to
avoid compile breakage during header shuffles done in the future.

Cc: Wolfram Sang <wsa at the-dreams.de>
Cc: linux-pcmcia at lists.infradead.org
Signed-off-by: Paul Gortmaker <paul.gortmaker at windriver.com>
---
 drivers/pcmcia/xxs1500_ss.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pcmcia/xxs1500_ss.c b/drivers/pcmcia/xxs1500_ss.c
index 4c04360f378b..b2a189507fc3 100644
--- a/drivers/pcmcia/xxs1500_ss.c
+++ b/drivers/pcmcia/xxs1500_ss.c
@@ -11,6 +11,7 @@
 #include <linux/io.h>
 #include <linux/ioport.h>
 #include <linux/mm.h>
+#include <linux/module.h>
 #include <linux/platform_device.h>
 #include <linux/pm.h>
 #include <linux/resource.h>
-- 
2.2.1




More information about the linux-pcmcia mailing list