]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/mtd/nand/spia.c
mtd: convert remaining users to mtd_device_register()
[mv-sheeva.git] / drivers / mtd / nand / spia.c
index 0cc6d0acb8febdcde011545e5022bb950e3ccf0e..bef76cd7c24c08ab7431756017a739c09cd692f9 100644 (file)
@@ -149,7 +149,7 @@ static int __init spia_init(void)
        }
 
        /* Register the partitions */
-       add_mtd_partitions(spia_mtd, partition_info, NUM_PARTITIONS);
+       mtd_device_register(spia_mtd, partition_info, NUM_PARTITIONS);
 
        /* Return happy */
        return 0;