diff options
author | John Crispin <john@openwrt.org> | 2008-06-22 19:01:14 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2008-06-22 19:01:14 +0000 |
commit | 496bdd9eb769813854924e18d204546a899fa9d5 (patch) | |
tree | 5002c3371662b7449aca000014ecccbbe0448a7e /target/linux/ifxmips/files/drivers | |
parent | 1af378601e2c5a0f5f260e501b62fa062d263196 (diff) | |
download | upstream-496bdd9eb769813854924e18d204546a899fa9d5.tar.gz upstream-496bdd9eb769813854924e18d204546a899fa9d5.tar.bz2 upstream-496bdd9eb769813854924e18d204546a899fa9d5.zip |
fixes several compile errors, reserves memory for second core, adds u-boot env parsing for ifxmips
SVN-Revision: 11558
Diffstat (limited to 'target/linux/ifxmips/files/drivers')
-rw-r--r-- | target/linux/ifxmips/files/drivers/mtd/maps/ifxmips.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/target/linux/ifxmips/files/drivers/mtd/maps/ifxmips.c b/target/linux/ifxmips/files/drivers/mtd/maps/ifxmips.c index 4b9c6ef360..cbfbc3e593 100644 --- a/target/linux/ifxmips/files/drivers/mtd/maps/ifxmips.c +++ b/target/linux/ifxmips/files/drivers/mtd/maps/ifxmips.c @@ -129,7 +129,7 @@ detect_squashfs_partition (unsigned long start_offset){ } static int -ifxmips_mtd_probe (void) +ifxmips_mtd_probe (struct platform_device *dev) { struct mtd_info *ifxmips_mtd = NULL; struct mtd_partition *parts = NULL; @@ -179,23 +179,23 @@ ifxmips_mtd_probe (void) return 0; } -static struct -platform_driver ifxmips_mtd_driver = { - .probe = ifxmips_mtd_probe, - .driver = { - .name = DRVNAME, - .owner = THIS_MODULE, - }, -}; +static struct +platform_driver ifxmips_mtd_driver = { + .probe = ifxmips_mtd_probe, + .driver = { + .name = DRVNAME, + .owner = THIS_MODULE, + }, +}; int __init init_ifxmips_mtd (void) { - int ret = platform_driver_register(&ifxmips_mtd_driver); - if (ret) - printk(KERN_INFO DRVNAME ": error registering platfom driver!"); + int ret = platform_driver_register(&ifxmips_mtd_driver); + if (ret) + printk(KERN_INFO DRVNAME ": error registering platfom driver!"); - return ret; + return ret; } static void |