X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=board%2Fbosch%2Fguardian%2Fmux.c;h=9c81f29f9f230d46bc29130e86db005cb1362736;hb=88718be3001055fa2801a44ab10570279b3f2cb7;hp=20a1f2522f019c15d70d3befff270028909bfccd;hpb=6891152a4596d38ac25d2fe1238e3b6a938554b8;p=oweals%2Fu-boot.git diff --git a/board/bosch/guardian/mux.c b/board/bosch/guardian/mux.c index 20a1f2522f..9c81f29f9f 100644 --- a/board/bosch/guardian/mux.c +++ b/board/bosch/guardian/mux.c @@ -39,7 +39,7 @@ static struct module_pin_mux guardian_interfaces_pin_mux[] = { {-1}, }; -#ifdef CONFIG_NAND +#ifdef CONFIG_MTD_RAW_NAND static struct module_pin_mux nand_pin_mux[] = { {OFFSET(gpmc_ad0), (MODE(0) | PULLUDDIS | RXACTIVE)}, {OFFSET(gpmc_ad1), (MODE(0) | PULLUDDIS | RXACTIVE)}, @@ -82,7 +82,7 @@ void enable_i2c0_pin_mux(void) void enable_board_pin_mux(void) { -#ifdef CONFIG_NAND +#ifdef CONFIG_MTD_RAW_NAND configure_module_pin_mux(nand_pin_mux); #endif configure_module_pin_mux(guardian_interfaces_pin_mux);