]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mtd: Add module.h to drivers users that were implicitly using it.
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 3 Jul 2011 19:17:31 +0000 (15:17 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 31 Jul 2011 08:05:34 +0000 (04:05 -0400)
We are cleaning up the implicit presence of module.h that these
drivers are taking advantage of.  Fix them in advance of the
cleanup operation.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/mtd/ar7part.c
drivers/mtd/cmdlinepart.c
drivers/mtd/lpddr/lpddr_cmds.c
drivers/mtd/mtdblock_ro.c
drivers/mtd/nand/cafe_nand.c
drivers/mtd/nand/diskonchip.c
drivers/mtd/nand/sm_common.c
drivers/mtd/redboot.c
drivers/mtd/rfd_ftl.c

index 6697a1ec72d067ec07a42c15986740ea33169095..95949b97de6a652814bcb25ba4e0c8a19ff05409 100644 (file)
@@ -27,6 +27,7 @@
 #include <linux/mtd/partitions.h>
 #include <linux/bootmem.h>
 #include <linux/magic.h>
+#include <linux/module.h>
 
 #define AR7_PARTS      4
 #define ROOT_OFFSET    0xe0000
index e790f38893b00b2f0c0c645b3d66fd1b6a90651b..8cf667da24081a6826cf5772903a87ffbc56815b 100644 (file)
@@ -43,6 +43,7 @@
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/partitions.h>
 #include <linux/bootmem.h>
+#include <linux/module.h>
 
 /* error message prefix */
 #define ERRP "mtd: "
index 65655dd59e1f9e5948ac5bb138bd332abfa2cd05..1dca31d9a8b3dc189c06d4236e1d19bb77810a38 100644 (file)
@@ -27,6 +27,7 @@
 #include <linux/mtd/pfow.h>
 #include <linux/mtd/qinfo.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 
 static int lpddr_read(struct mtd_info *mtd, loff_t adr, size_t len,
                                        size_t *retlen, u_char *buf);
index 795a8c0a05b82cf4a7cf0bc5d1e31bed4890b9e4..0470a6e863096779a85b26200a133c4158d7f5a5 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/slab.h>
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/blktrans.h>
+#include <linux/module.h>
 
 static int mtdblock_readsect(struct mtd_blktrans_dev *dev,
                              unsigned long block, char *buf)
index 87ebb4e5b0c3b97949050ec10ff2a62b081c9bac..7c8df837d3b88ab1d73c08e8061eb42c94e38ab3 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/interrupt.h>
 #include <linux/dma-mapping.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 #include <asm/io.h>
 
 #define CAFE_NAND_CTRL1                0x00
index 7837728d02ff4c15987d6275d593d3464b6cf073..e1b84cb90f0db6f4cd0a206f3080f3f80d5c078d 100644 (file)
@@ -31,6 +31,7 @@
 #include <linux/mtd/doc2000.h>
 #include <linux/mtd/partitions.h>
 #include <linux/mtd/inftl.h>
+#include <linux/module.h>
 
 /* Where to look for the devices? */
 #ifndef CONFIG_MTD_NAND_DISKONCHIP_PROBE_ADDRESS
index b6332e83b2895e798fc5220dd914b1e1a1e99602..43469715b3fa1f9ef9c34017b13e0768aeef64e2 100644 (file)
@@ -8,6 +8,7 @@
  */
 #include <linux/kernel.h>
 #include <linux/mtd/nand.h>
+#include <linux/module.h>
 #include "sm_common.h"
 
 static struct nand_ecclayout nand_oob_sm = {
index 7a87d07cd79f4bcae8dcf11241d0b052fa765cd9..84b4dda023f4e1d2b870f25b779d6090ca30e8a5 100644 (file)
@@ -28,6 +28,7 @@
 
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/partitions.h>
+#include <linux/module.h>
 
 struct fis_image_desc {
     unsigned char name[16];      // Null terminated name
index cc4d1805b864d3504f57b227a94b1747f2f7fe50..73ae217a4252a1b386c7c9b3b820dece4c3e65bd 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/vmalloc.h>
 #include <linux/slab.h>
 #include <linux/jiffies.h>
+#include <linux/module.h>
 
 #include <asm/types.h>