Commit 0bc6fe2f authored by Russell King's avatar Russell King

[MTD] Fix build errors in Lubbock MTD map driver.

parent afc2ce80
......@@ -74,7 +74,7 @@ static int __init init_lubbock(void)
lubbock_maps[flashboot].name = "Lubbock Boot ROM";
for (i = 0; i < 2; i++) {
lubbock_maps[i].virt = (unsigned long)__ioremap(lubbock_maps[i].phys, WINDOW_SIZE, 0);
lubbock_maps[i].virt = (unsigned long)ioremap(lubbock_maps[i].phys, WINDOW_SIZE);
if (!lubbock_maps[i].virt) {
printk(KERN_WARNING "Failed to ioremap %s\n", lubbock_maps[i].name);
if (!ret)
......@@ -97,7 +97,7 @@ static int __init init_lubbock(void)
}
mymtds[i]->owner = THIS_MODULE;
int ret = parse_mtd_partitions(mymtds[i], probes,
ret = parse_mtd_partitions(mymtds[i], probes,
&parsed_parts[i], 0);
if (ret > 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment