diff options
author | Simon Glass <sjg@chromium.org> | 2023-02-06 01:40:42 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-02-10 15:41:40 +0300 |
commit | ef746bfd2c848740bcb3c9269e96c5d170827b57 (patch) | |
tree | 1e05f35e9ee7763d20568230026d28c17e5c39e0 /drivers | |
parent | 3c9adeb33021084f82690ec378256251b7340104 (diff) | |
download | u-boot-ef746bfd2c848740bcb3c9269e96c5d170827b57.tar.xz |
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 <sjg@chromium.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pinctrl/pinctrl-single.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |