]> git.baikalelectronics.ru Git - uboot.git/commitdiff
Correct SPL use of ATMEL_PIO4
authorSimon Glass <sjg@chromium.org>
Sun, 5 Feb 2023 22:36:17 +0000 (15:36 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 10 Feb 2023 13:22:52 +0000 (08:22 -0500)
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>
drivers/pinctrl/pinctrl-at91-pio4.c

index 50e3dd449abd370edf8180bf58c61b813c042378..84b398619c47cd569479b8c6e29ff14a6c31aac3 100644 (file)
@@ -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 */