mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
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:
parent
3c9adeb330
commit
ef746bfd2c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue