projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
of: clean up OF_CONTROL ifdef conditionals
[oweals/u-boot.git]
/
drivers
/
gpio
/
mxc_gpio.c
diff --git
a/drivers/gpio/mxc_gpio.c
b/drivers/gpio/mxc_gpio.c
index 57a650f75074af3a575ecbfe61e33b221ee0b955..0c48320966b56f7f66d061d21bb9c440bfdbf545 100644
(file)
--- a/
drivers/gpio/mxc_gpio.c
+++ b/
drivers/gpio/mxc_gpio.c
@@
-336,7
+336,7
@@
U_BOOT_DRIVER(gpio_mxc) = {
.bind = mxc_gpio_bind,
};
-#if
ndef 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 },