summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2023-02-05 15:40:42 -0700
committerTom Rini <[email protected]>2023-02-10 07:41:40 -0500
commitef746bfd2c848740bcb3c9269e96c5d170827b57 (patch)
tree1e05f35e9ee7763d20568230026d28c17e5c39e0
parent3c9adeb33021084f82690ec378256251b7340104 (diff)
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 <[email protected]>
-rw-r--r--drivers/pinctrl/pinctrl-single.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c
index bc9c17bce84..d80281fd3dd 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);