summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-04-09 13:39:55 +0000
committerAnatolij Gustschin <agust@denx.de>2012-04-30 16:54:51 +0200
commit7b15e2bb9b1026925f0f98243cd6cf80bd3fb47d (patch)
treec6960f091ffc45942593c82d92297f68138111e2 /common
parent4e2c05873a7c51b13a8ddf1eeda4dc96c37013c4 (diff)
downloadu-boot-7b15e2bb9b1026925f0f98243cd6cf80bd3fb47d.tar.gz
u-boot-7b15e2bb9b1026925f0f98243cd6cf80bd3fb47d.tar.xz
u-boot-7b15e2bb9b1026925f0f98243cd6cf80bd3fb47d.zip
linux/compat.h: rename from linux/mtd/compat.h
This lets us use it in more places than just mtd code. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'common')
-rw-r--r--common/cmd_onenand.c2
-rw-r--r--common/env_onenand.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_onenand.c b/common/cmd_onenand.c
index 0f2e208717..a0d25e5521 100644
--- a/common/cmd_onenand.c
+++ b/common/cmd_onenand.c
@@ -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>
diff --git a/common/env_onenand.c b/common/env_onenand.c
index 652665a189..7197ab6585 100644
--- a/common/env_onenand.c
+++ b/common/env_onenand.c
@@ -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>