ソースを参照

block: Fix files that are modules and hence need module.h

We want to remove the implicit everywhere presence of module.h
so fix up the people relying on that implicit presence in advance.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Paul Gortmaker 14 年 前
コミット
0c8d44f239
3 ファイル変更3 行追加0 行削除
  1. 1 0
      drivers/block/ps3disk.c
  2. 1 0
      drivers/block/ps3vram.c
  3. 1 0
      drivers/block/virtio_blk.c

+ 1 - 0
drivers/block/ps3disk.c

@@ -21,6 +21,7 @@
 #include <linux/ata.h>
 #include <linux/blkdev.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 
 #include <asm/lv1call.h>
 #include <asm/ps3stor.h>

+ 1 - 0
drivers/block/ps3vram.c

@@ -10,6 +10,7 @@
 
 #include <linux/blkdev.h>
 #include <linux/delay.h>
+#include <linux/module.h>
 #include <linux/proc_fs.h>
 #include <linux/seq_file.h>
 #include <linux/slab.h>

+ 1 - 0
drivers/block/virtio_blk.c

@@ -3,6 +3,7 @@
 #include <linux/slab.h>
 #include <linux/blkdev.h>
 #include <linux/hdreg.h>
+#include <linux/module.h>
 #include <linux/virtio.h>
 #include <linux/virtio_blk.h>
 #include <linux/scatterlist.h>