of: clean up OF_CONTROL ifdef conditionals
[oweals/u-boot.git] / drivers / gpio / mxc_gpio.c
index 57a650f75074af3a575ecbfe61e33b221ee0b955..0c48320966b56f7f66d061d21bb9c440bfdbf545 100644 (file)
@@ -336,7 +336,7 @@ U_BOOT_DRIVER(gpio_mxc) = {
        .bind   = mxc_gpio_bind,
 };
 
-#ifndef CONFIG_OF_CONTROL
+#if !CONFIG_IS_ENABLED(OF_CONTROL)
 static const struct mxc_gpio_plat mxc_plat[] = {
        { 0, (struct gpio_regs *)GPIO1_BASE_ADDR },
        { 1, (struct gpio_regs *)GPIO2_BASE_ADDR },