]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
linux/compat.h: rename from linux/mtd/compat.h
authorMike Frysinger <vapier@gentoo.org>
Mon, 9 Apr 2012 13:39:55 +0000 (13:39 +0000)
committerAnatolij Gustschin <agust@denx.de>
Mon, 30 Apr 2012 14:54:51 +0000 (16:54 +0200)
This lets us use it in more places than just mtd code.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
20 files changed:
board/samsung/smdkc100/onenand.c
common/cmd_onenand.c
common/env_onenand.c
drivers/mtd/mtdconcat.c
drivers/mtd/mtdcore.c
drivers/mtd/mtdpart.c
drivers/mtd/nand/mpc5121_nfc.c
drivers/mtd/nand/nand_base.c
drivers/mtd/nand/nand_bbt.c
drivers/mtd/onenand/onenand_base.c
drivers/mtd/onenand/onenand_bbt.c
drivers/mtd/onenand/onenand_uboot.c
drivers/mtd/onenand/samsung.c
fs/jffs2/jffs2_1pass.c
include/linux/compat.h [moved from include/linux/mtd/compat.h with 100% similarity]
include/linux/err.h
include/linux/mtd/mtd-abi.h
include/linux/mtd/nand.h
include/linux/mtd/onenand.h
include/nand.h

index 501855edd3812a63cc3d18e7879a990784be1ef3..e34cd31f24a4002cb343f187e6c62edb720598fa 100644 (file)
@@ -22,7 +22,7 @@
  */
 
 #include <common.h>
-#include <linux/mtd/compat.h>
+#include <linux/compat.h>
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/onenand.h>
 #include <linux/mtd/samsung_onenand.h>
index 0f2e2087179ed46a8275b7aa92e175ccca3028d8..a0d25e55212a0c9633e89d62331f3ed223c694df 100644 (file)
@@ -13,7 +13,7 @@
 #include <command.h>
 #include <malloc.h>
 
-#include <linux/mtd/compat.h>
+#include <linux/compat.h>
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/onenand.h>
 
index 652665a189094bafe5eced6aaeb137da2c3c920d..7197ab6585324c930b3410f880b7641860f702a7 100644 (file)
@@ -33,7 +33,7 @@
 #include <errno.h>
 #include <onenand_uboot.h>
 
-#include <linux/mtd/compat.h>
+#include <linux/compat.h>
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/onenand.h>
 
index fc2270127aeb7e4742c0974b972dca5624f5956c..e6d938417ded948b498c41590fc85435db00dfec 100644 (file)
@@ -9,7 +9,7 @@
  */
 
 #include <linux/mtd/mtd.h>
-#include <linux/mtd/compat.h>
+#include <linux/compat.h>
 #include <linux/mtd/concat.h>
 #include <ubi_uboot.h>
 
index a195ddab35774a9044f0446e8e0d66d880636c3a..3a81adaf60d5563d805e230515f12a3ca444439e 100644 (file)
@@ -8,7 +8,7 @@
  */
 
 #include <linux/mtd/mtd.h>
-#include <linux/mtd/compat.h>
+#include <linux/compat.h>
 #include <ubi_uboot.h>
 
 struct mtd_info *mtd_table[MAX_MTD_DEVICES];
index f647e436681b1e1c255503152b9d6379753e6bef..96dcda2b2ba4a4bfa7226c14a9c9073dacc645fe 100644 (file)
@@ -17,7 +17,7 @@
 #include <linux/list.h>
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/partitions.h>
-#include <linux/mtd/compat.h>
+#include <linux/compat.h>
 
 /* Our partition linked list */
 struct list_head mtd_partitions;
index 7fd8a354791c176e1dbaa0d31105e2b43f9d29e9..e6b7a706619ca1eb1c7c7eab2d0a910413cba86d 100644 (file)
@@ -29,7 +29,7 @@
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/nand.h>
 #include <linux/mtd/nand_ecc.h>
-#include <linux/mtd/compat.h>
+#include <linux/compat.h>
 
 #include <asm/errno.h>
 #include <asm/io.h>
index 44f7b914578d1effda938c808d8696417a6812dc..bef79bed0fe1563489a85ed9ecaa69ed25805304 100644 (file)
@@ -39,7 +39,7 @@
 #include <malloc.h>
 #include <watchdog.h>
 #include <linux/err.h>
-#include <linux/mtd/compat.h>
+#include <linux/compat.h>
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/nand.h>
 #include <linux/mtd/nand_ecc.h>
index 2b730e09c97ade4de292c4c0bc9e3b30f026cc7a..dc6c6480e58bbed1ab272b38645347e0a9346b89 100644 (file)
@@ -61,7 +61,7 @@
 
 #include <common.h>
 #include <malloc.h>
-#include <linux/mtd/compat.h>
+#include <linux/compat.h>
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/nand.h>
 #include <linux/mtd/nand_ecc.h>
index 1d0f196c127dd804b82375e1834a1c35d008b9c3..1a7b40eaa37fdc5909fee41e1699a077d9319a22 100644 (file)
@@ -20,7 +20,7 @@
  */
 
 #include <common.h>
-#include <linux/mtd/compat.h>
+#include <linux/compat.h>
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/onenand.h>
 
index 1354877729d9aa8a8d4814b1a414b8c02687dfb3..9d5da54708ec9ed9db9c83eff0b9939adb6d90bd 100644 (file)
@@ -15,7 +15,7 @@
  */
 
 #include <common.h>
-#include <linux/mtd/compat.h>
+#include <linux/compat.h>
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/onenand.h>
 #include <malloc.h>
index c642016c2d2ed482a903ecf6f2ead3f119008c76..ae60c3bb71dffd2203fb8fbca5d821aa12c8a60d 100644 (file)
@@ -14,7 +14,7 @@
  */
 
 #include <common.h>
-#include <linux/mtd/compat.h>
+#include <linux/compat.h>
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/onenand.h>
 
index c9d33ec825004500b4b9056f376c03be8a279181..0d94ea5b1f3efe4d94be44845131169cc95aef02 100644 (file)
@@ -28,7 +28,7 @@
 
 #include <common.h>
 #include <malloc.h>
-#include <linux/mtd/compat.h>
+#include <linux/compat.h>
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/onenand.h>
 #include <linux/mtd/samsung_onenand.h>
index a0b02e4dda1a0816ba8e5d6e68158ae83d1e8608..c856983ef444bfb3292a5aa2efafdd18b489e3e5 100644 (file)
 #include <watchdog.h>
 #include <jffs2/jffs2.h>
 #include <jffs2/jffs2_1pass.h>
-#include <linux/mtd/compat.h>
+#include <linux/compat.h>
 #include <asm/errno.h>
 
 #include "jffs2_private.h"
index 4e08c4fe685bf65cc3e381e8b805a9f8e2812a0f..96c0c72baa6b4364a552a7521e9a3fe7620f171b 100644 (file)
@@ -5,7 +5,7 @@
 #if 0
 #include <linux/compiler.h>
 #else
-#include <linux/mtd/compat.h>
+#include <linux/compat.h>
 #endif
 
 #include <asm/errno.h>
index 8d5f60c75ea093ccc48060ac18a428c525b77e76..5991157065a7a81649f8afe99993704ff1987f95 100644 (file)
@@ -8,7 +8,7 @@
 #define __MTD_ABI_H__
 
 #if 1
-#include <linux/mtd/compat.h>
+#include <linux/compat.h>
 #endif
 
 struct erase_info_user {
index da6fa184c3397d4dce226525e30f06f501da2f29..82704de0835561907e5d77467c7c27458890f2e4 100644 (file)
@@ -20,7 +20,7 @@
 
 #include "config.h"
 
-#include "linux/mtd/compat.h"
+#include "linux/compat.h"
 #include "linux/mtd/mtd.h"
 #include "linux/mtd/bbm.h"
 
index bb4a4a6b28ee28a31bbbd379381bb94de44db615..e7b63ddd107243d93d2955e4c0b2656957b8f9ae 100644 (file)
@@ -17,7 +17,7 @@
 /* Note: The header order is impoertant */
 #include <onenand_uboot.h>
 
-#include <linux/mtd/compat.h>
+#include <linux/compat.h>
 #include <linux/mtd/bbm.h>
 
 #define MAX_DIES               2
index 8b3a1a77a399552b9eb8e10cc9a2746e24989711..a48b1b8ed1a514831511303abca62cb48fccb96d 100644 (file)
@@ -37,7 +37,7 @@
 
 extern void nand_init(void);
 
-#include <linux/mtd/compat.h>
+#include <linux/compat.h>
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/nand.h>