git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c9adeb
)
Correct SPL use of SANDBOX
author
Simon Glass
<sjg@chromium.org>
Sun, 5 Feb 2023 22:40:42 +0000
(15:40 -0700)
committer
Tom 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
patch
|
blob
|
history
diff --git
a/drivers/pinctrl/pinctrl-single.c
b/drivers/pinctrl/pinctrl-single.c
index
bc9c17b
..
d80281f
100644
(file)
--- 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);