projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Convert the nand driver to a platform_device, should only allow routerboards to use it
[openwrt.git]
/
target
/
linux
/
adm5120-2.6
/
files
/
drivers
/
mtd
/
maps
/
adm5120-flash.c
diff --git
a/target/linux/adm5120-2.6/files/drivers/mtd/maps/adm5120-flash.c
b/target/linux/adm5120-2.6/files/drivers/mtd/maps/adm5120-flash.c
index
a60e6e5
..
0214415
100644
(file)
--- a/
target/linux/adm5120-2.6/files/drivers/mtd/maps/adm5120-flash.c
+++ b/
target/linux/adm5120-2.6/files/drivers/mtd/maps/adm5120-flash.c
@@
-485,7
+485,7
@@
static int adm5120_flash_probe(struct platform_device *dev)
}
MAP_INFO(map, "found at 0x%lX, size:%ldKiB, width:%d bits\n",
}
MAP_INFO(map, "found at 0x%lX, size:%ldKiB, width:%d bits\n",
- (unsigned long)map->phys, (unsigned long)
map
->size >> 10,
+ (unsigned long)map->phys, (unsigned long)
info->mtd
->size >> 10,
map->bankwidth*8);
info->mtd->owner = THIS_MODULE;
map->bankwidth*8);
info->mtd->owner = THIS_MODULE;
This page took
0.021429 seconds
and
4
git commands to generate.