From 345ef59aa0ea1a931629187449f63876501752cd Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Wed, 8 Jun 2022 10:33:22 +0200 Subject: of: Add missing inline for stub function Add missing inline to of_prepend_machine_compatible() wrapper. Signed-off-by: Sascha Hauer --- include/of.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3