summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2022-06-08 10:33:22 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2022-06-08 10:33:33 +0200
commit345ef59aa0ea1a931629187449f63876501752cd (patch)
tree5d8668bc023b7623cfe39ac14bdc1c025ec37e84 /include
parent1f31383fb08031eb1dd42109c28823217265d001 (diff)
downloadbarebox-345ef59aa0ea1a931629187449f63876501752cd.tar.gz
barebox-345ef59aa0ea1a931629187449f63876501752cd.tar.xz
of: Add missing inline for stub function
Add missing inline to of_prepend_machine_compatible() wrapper. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/of.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/of.h b/include/of.h
index 3a8e32f69c..46b96277d5 100644
--- a/include/of.h
+++ b/include/of.h
@@ -835,7 +835,7 @@ static inline int of_autoenable_i2c_by_component(char *path)
return -ENODEV;
}
-static int of_prepend_machine_compatible(struct device_node *root,
+static inline int of_prepend_machine_compatible(struct device_node *root,
const char *compat)
{
return -ENODEV;