aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/rdc/files
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-06-12 14:58:08 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-06-12 14:58:08 +0000
commit4094d9c4a758b7c4300954683c7fd6b05d792ef5 (patch)
tree219c46d380f59b213378584952ef1cc7360e4aca /target/linux/rdc/files
parenta7fbcce69fcf8a79b219a638eea519380fcaf95b (diff)
downloadupstream-4094d9c4a758b7c4300954683c7fd6b05d792ef5.tar.gz
upstream-4094d9c4a758b7c4300954683c7fd6b05d792ef5.tar.bz2
upstream-4094d9c4a758b7c4300954683c7fd6b05d792ef5.zip
[rdc] include linux/magic.h instead of hardcoding the squashfs magic number
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16426 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rdc/files')
-rw-r--r--target/linux/rdc/files/drivers/mtd/maps/rdc3210.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/rdc/files/drivers/mtd/maps/rdc3210.c b/target/linux/rdc/files/drivers/mtd/maps/rdc3210.c
index bc94454d0a..2c536ce70e 100644
--- a/target/linux/rdc/files/drivers/mtd/maps/rdc3210.c
+++ b/target/linux/rdc/files/drivers/mtd/maps/rdc3210.c
@@ -15,8 +15,7 @@
#include <linux/mtd/partitions.h>
#include <linux/autoconf.h>
#include <linux/sched.h>
-
-#define SQUASHFS_MAGIC 0x73717368
+#include <linux/magic.h>
static struct mtd_info *rdc3210_mtd;