mtd: rename CONFIG_NAND -> CONFIG_MTD_RAW_NAND
[platform/kernel/u-boot.git] / board / siemens / pxm2 / mux.c
index 9b69b6f..2f35bb4 100644 (file)
@@ -26,7 +26,7 @@ static struct module_pin_mux uart0_pin_mux[] = {
        {-1},
 };
 
-#ifdef CONFIG_NAND
+#ifdef CONFIG_MTD_RAW_NAND
 static struct module_pin_mux nand_pin_mux[] = {
        {OFFSET(gpmc_ad0), (MODE(0) | PULLUP_EN | RXACTIVE)},   /* NAND AD0 */
        {OFFSET(gpmc_ad1), (MODE(0) | PULLUP_EN | RXACTIVE)},   /* NAND AD1 */
@@ -169,7 +169,7 @@ void enable_board_pin_mux(void)
 {
        configure_module_pin_mux(uart0_pin_mux);
        configure_module_pin_mux(i2c1_pin_mux);
-#ifdef CONFIG_NAND
+#ifdef CONFIG_MTD_RAW_NAND
        configure_module_pin_mux(nand_pin_mux);
 #endif
 #ifndef CONFIG_NO_ETH