include linux/magic.h instead of hardcoding the squashfs magic number

SVN-Revision: 16426
lede-17.01
Florian Fainelli 2009-06-12 14:58:08 +00:00
parent 5cf41df67a
commit 57a67ec472
1 changed files with 1 additions and 2 deletions

View 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;