The stub should have the same function signature as the non-stub function. Signed-off-by: Marco Felsch <m.felsch@xxxxxxxxxxxxxx> --- drivers/of/platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/of/platform.c b/drivers/of/platform.c index ca84cede23..21c7cce1a5 100644 --- a/drivers/of/platform.c +++ b/drivers/of/platform.c @@ -282,7 +282,7 @@ amba_err_free: return NULL; } #else /* CONFIG_ARM_AMBA */ -static inline struct amba_device *of_amba_device_create(struct device_node *np) +static inline struct device_d *of_amba_device_create(struct device_node *np) { return NULL; } -- 2.20.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox