summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-02-06 01:36:17 +0300
committerTom Rini <trini@konsulko.com>2023-02-10 16:22:52 +0300
commit42a13b21dcb6663847ae71c0a42dcf2f4149b69a (patch)
tree15ddc9d376d630efb4c614c4bda559d3c0c99d64 /drivers
parentce119a27064ed1648fe9bcbf2832c4f75a162230 (diff)
downloadu-boot-42a13b21dcb6663847ae71c0a42dcf2f4149b69a.tar.xz
Correct SPL use of ATMEL_PIO4
This converts 1 usage of this option to the non-SPL form, since there is no SPL_ATMEL_PIO4 defined in Kconfig Reviewed-by: Eugen Hristev <eugen.hristev@collabora.com> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pinctrl/pinctrl-at91-pio4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinctrl-at91-pio4.c b/drivers/pinctrl/pinctrl-at91-pio4.c
index 50e3dd449a..84b398619c 100644
--- a/drivers/pinctrl/pinctrl-at91-pio4.c
+++ b/drivers/pinctrl/pinctrl-at91-pio4.c
@@ -271,7 +271,7 @@ static int atmel_pinctrl_bind(struct udevice *dev)
ofnode node = dev_ofnode(dev);
struct atmel_pinctrl_data *priv = (struct atmel_pinctrl_data *)dev_get_driver_data(dev);
- if (!CONFIG_IS_ENABLED(ATMEL_PIO4))
+ if (!IS_ENABLED(CONFIG_ATMEL_PIO4))
return 0;
/* Obtain a handle to the GPIO driver */