From: Simon Glass Date: Sun, 5 Feb 2023 22:40:42 +0000 (-0700) Subject: Correct SPL use of SANDBOX X-Git-Tag: baikal/mips/sdk5.8.2~5^2~53^2~42 X-Git-Url: https://git.baikalelectronics.ru/?a=commitdiff_plain;h=ed450dff61208853a0645108f82146e30a7439b6;p=uboot.git Correct SPL use of SANDBOX This converts 1 usage of this option to the non-SPL form, since there is no SPL_SANDBOX defined in Kconfig Signed-off-by: Simon Glass --- diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c index bc9c17bce8..d80281fd3d 100644 --- a/drivers/pinctrl/pinctrl-single.c +++ b/drivers/pinctrl/pinctrl-single.c @@ -541,7 +541,7 @@ static int single_probe(struct udevice *dev) INIT_LIST_HEAD(&priv->gpiofuncs); size = pdata->offset + pdata->width / BITS_PER_BYTE; - #if (CONFIG_IS_ENABLED(SANDBOX)) + #if (IS_ENABLED(CONFIG_SANDBOX)) priv->sandbox_regs = devm_kzalloc(dev, size * sizeof(*priv->sandbox_regs), GFP_KERNEL);