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:
parent
ce119a2706
commit
42a13b21dc
1 changed files with 1 additions and 1 deletions
|
@ -271,7 +271,7 @@ static int atmel_pinctrl_bind(struct udevice *dev)
|
||||||
ofnode node = dev_ofnode(dev);
|
ofnode node = dev_ofnode(dev);
|
||||||
struct atmel_pinctrl_data *priv = (struct atmel_pinctrl_data *)dev_get_driver_data(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;
|
return 0;
|
||||||
|
|
||||||
/* Obtain a handle to the GPIO driver */
|
/* Obtain a handle to the GPIO driver */
|
||||||
|
|
Loading…
Reference in a new issue