fixes several compile errors, reserves memory for second core, adds u-boot env parsin...
[openwrt-10.03/.git] / target / linux / ifxmips / files / drivers / mtd / maps / ifxmips.c
index 4b9c6ef360f494f2954f611162bfbb69527d533d..cbfbc3e5937a744f3bc3f89120661537a23b1f26 100644 (file)
@@ -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