]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - drivers/mtd/onenand/onenand_uboot.c
mtd: rename CONFIG_MTD_DEVICE -> CONFIG_MTD
[thirdparty/u-boot.git] / drivers / mtd / onenand / onenand_uboot.c
index c15ec9df079eb124d15ce1321713816e4f1fb4c6..6893394e08923d8df4cefea020f6ea24c11a81f4 100644 (file)
@@ -43,7 +43,7 @@ void onenand_init(void)
                        puts("Flex-");
                puts("OneNAND: ");
 
-#ifdef CONFIG_MTD_DEVICE
+#ifdef CONFIG_MTD
                /*
                 * Add MTD device so that we can reference it later
                 * via the mtdcore infrastructure (e.g. ubi).