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>
This commit is contained in:
Simon Glass 2023-02-05 15:40:42 -07:00 committed by Tom Rini
parent 3c9adeb330
commit ef746bfd2c

View 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);