aboutsummaryrefslogtreecommitdiffstats
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
commit57a67ec4726b8e36e804f032a5c742a396ed8707 (patch)
treec02e50e16fb72f2f04f1e839fcbf374d8e4e6108
parent5cf41df67ad1e2917e0dc80039462085a0be69a3 (diff)
downloadupstream-57a67ec4726b8e36e804f032a5c742a396ed8707.tar.gz
upstream-57a67ec4726b8e36e804f032a5c742a396ed8707.tar.bz2
upstream-57a67ec4726b8e36e804f032a5c742a396ed8707.zip
include linux/magic.h instead of hardcoding the squashfs magic number
SVN-Revision: 16426
-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;