[rdc] include linux/magic.h instead of hardcoding the squashfs magic number
authorFlorian Fainelli <florian@openwrt.org>
Fri, 12 Jun 2009 14:58:08 +0000 (14:58 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Fri, 12 Jun 2009 14:58:08 +0000 (14:58 +0000)
SVN-Revision: 16426

target/linux/rdc/files/drivers/mtd/maps/rdc3210.c

index bc94454..2c536ce 100644 (file)
@@ -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;