This lets us use it in more places than just mtd code. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
@@ -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>
@@ -13,7 +13,7 @@
#include <command.h>
#include <malloc.h>
@@ -33,7 +33,7 @@
#include <errno.h>
#include <onenand_uboot.h>
@@ -9,7 +9,7 @@
#include <linux/mtd/concat.h>
#include <ubi_uboot.h>
@@ -8,7 +8,7 @@
struct mtd_info *mtd_table[MAX_MTD_DEVICES];
@@ -17,7 +17,7 @@
#include <linux/list.h>
#include <linux/mtd/partitions.h>
/* Our partition linked list */
struct list_head mtd_partitions;
@@ -29,7 +29,7 @@
#include <linux/mtd/nand.h>
#include <linux/mtd/nand_ecc.h>
#include <asm/errno.h>
#include <asm/io.h>
@@ -39,7 +39,7 @@
#include <watchdog.h>
#include <linux/err.h>
@@ -61,7 +61,7 @@
@@ -20,7 +20,7 @@
@@ -15,7 +15,7 @@
@@ -14,7 +14,7 @@
@@ -28,7 +28,7 @@
@@ -119,7 +119,7 @@
#include <jffs2/jffs2.h>
#include <jffs2/jffs2_1pass.h>
#include "jffs2_private.h"
@@ -5,7 +5,7 @@
#if 0
#include <linux/compiler.h>
#else
#endif
#define __MTD_ABI_H__
#if 1
struct erase_info_user {
#include "config.h"
-#include "linux/mtd/compat.h"
+#include "linux/compat.h"
#include "linux/mtd/mtd.h"
#include "linux/mtd/bbm.h"
/* Note: The header order is impoertant */
#include <linux/mtd/bbm.h>
#define MAX_DIES 2
@@ -37,7 +37,7 @@
extern void nand_init(void);