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 bc94454d0adc36bfc5e2c73aecce5860206c2bf5..2c536ce70e4406b518b0959f97449a9dcbeb6435 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;