소스 검색

drivers/memstick: Add module.h to the prev. implicit modular users

This is another group of drivers that simply assumed that module.h was
everywhere.  But it won't be once we clean up its presence from device.h
Call out the real users of it in advance.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Paul Gortmaker 14 년 전
부모
커밋
c47e789328
4개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      drivers/memstick/core/memstick.c
  2. 1 0
      drivers/memstick/core/mspro_block.c
  3. 1 0
      drivers/memstick/host/jmb38x_ms.c
  4. 1 0
      drivers/memstick/host/tifm_ms.c

+ 1 - 0
drivers/memstick/core/memstick.c

@@ -17,6 +17,7 @@
 #include <linux/fs.h>
 #include <linux/delay.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 
 #define DRIVER_NAME "memstick"
 

+ 1 - 0
drivers/memstick/core/mspro_block.c

@@ -20,6 +20,7 @@
 #include <linux/slab.h>
 #include <linux/mutex.h>
 #include <linux/memstick.h>
+#include <linux/module.h>
 
 #define DRIVER_NAME "mspro_block"
 

+ 1 - 0
drivers/memstick/host/jmb38x_ms.c

@@ -17,6 +17,7 @@
 #include <linux/highmem.h>
 #include <linux/memstick.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 
 #define DRIVER_NAME "jmb38x_ms"
 

+ 1 - 0
drivers/memstick/host/tifm_ms.c

@@ -17,6 +17,7 @@
 #include <linux/highmem.h>
 #include <linux/scatterlist.h>
 #include <linux/log2.h>
+#include <linux/module.h>
 #include <asm/io.h>
 
 #define DRIVER_NAME "tifm_ms"