From: Simon Glass Date: Sun, 5 Feb 2023 22:36:17 +0000 (-0700) Subject: Correct SPL use of ATMEL_PIO4 X-Git-Tag: baikal/mips/sdk5.8.2~5^2~53^2 X-Git-Url: https://git.baikalelectronics.ru/?a=commitdiff_plain;h=b40b0a980389d50c65360aaf775e674e9861a778;p=uboot.git 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 Signed-off-by: Simon Glass --- 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 */