mtd: onenand: samsung: add missing iounmap
[deliverable/linux.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;
This page took 0.024347 seconds and 5 git commands to generate.