Browse Source

drivers/pcmcia: include <module.h> for modular xxs1500_ss code

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@the-dreams.de>
Acked-by: Wolfram Sang <wsa@the-dreams.de>
Cc: linux-pcmcia@lists.infradead.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Paul Gortmaker 10 năm trước cách đây
mục cha
commit
5468f887bc
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      drivers/pcmcia/xxs1500_ss.c

+ 1 - 0
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>