summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-06-12 14:58:08 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-06-12 14:58:08 +0000
commit96c57d4d0fbecc016bffa40b00e1bd7d08d5f511 (patch)
tree219c46d380f59b213378584952ef1cc7360e4aca
parent51c6d32fb33b9768b13f189bd432fe692018302e (diff)
[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
-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 bc94454d0..2c536ce70 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;