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>
This commit is contained in:
Simon Glass 2023-02-05 15:36:17 -07:00 committed by Tom Rini
parent ce119a2706
commit 42a13b21dc

View 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 */