projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[rdc] include linux/magic.h instead of hardcoding the squashfs magic number
[openwrt.git]
/
target
/
linux
/
rdc
/
files
/
drivers
/
mtd
/
maps
/
rdc3210.c
diff --git
a/target/linux/rdc/files/drivers/mtd/maps/rdc3210.c
b/target/linux/rdc/files/drivers/mtd/maps/rdc3210.c
index
e04bb99
..
2c536ce
100644
(file)
--- a/
target/linux/rdc/files/drivers/mtd/maps/rdc3210.c
+++ b/
target/linux/rdc/files/drivers/mtd/maps/rdc3210.c
@@
-15,7
+15,7
@@
#include <linux/mtd/partitions.h>
#include <linux/autoconf.h>
#include <linux/sched.h>
#include <linux/mtd/partitions.h>
#include <linux/autoconf.h>
#include <linux/sched.h>
-#include <linux/
squashfs_fs
.h>
+#include <linux/
magic
.h>
static struct mtd_info *rdc3210_mtd;
static struct mtd_info *rdc3210_mtd;
@@
-197,7
+197,7
@@
static int erase_write (struct mtd_info *mtd, unsigned long pos,
static int __init init_rdc3210_map(void)
{
rdc3210_map.phys = -rdc3210_map.size;
static int __init init_rdc3210_map(void)
{
rdc3210_map.phys = -rdc3210_map.size;
- printk(KERN_NOTICE "flash device: %x at %x\n", rdc3210_map.size, rdc3210_map.phys);
+ printk(KERN_NOTICE "flash device: %
l
x at %x\n", rdc3210_map.size, rdc3210_map.phys);
#if CONFIG_MTD_RDC3210_SIZE == 0x800000
simple_map_init(&rdc3210_map);
#if CONFIG_MTD_RDC3210_SIZE == 0x800000
simple_map_init(&rdc3210_map);
This page took
0.021068 seconds
and
4
git commands to generate.