Correct SPL use of SANDBOX
authorSimon Glass <sjg@chromium.org>
Sun, 5 Feb 2023 22:40:42 +0000 (15:40 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 10 Feb 2023 12:41:40 +0000 (07:41 -0500)
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 <sjg@chromium.org>
drivers/pinctrl/pinctrl-single.c

index bc9c17b..d80281f 100644 (file)
@@ -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);