When CONFIG_OF_OVERLAY is not enabled the fallback stub for of_overlay_fdt_apply() does not match the prototype for the case when CONFIG_OF_OVERLAY is enabled. Update the stub to use the correct function prototype.
Unified · Split
| @@ -1449,7 +1449,8 @@ int of_overlay_notifier_unregister(struct notifier_block *nb); · 1448 unmodified lines | ||
| 1449 | 1449 | |
| 1450 | 1450 | #else |
| 1451 | 1451 | |
| 1452 | −static inline int of_overlay_fdt_apply(void *overlay_fdt, int *ovcs_id) | |
| 1452 | +static inline int of_overlay_fdt_apply(void *overlay_fdt, u32 overlay_fdt_size, | |
| 1453 | + int *ovcs_id) | |
| 1453 | 1454 | { |
| 1454 | 1455 | return -ENOTSUPP; |
| 1455 | 1456 | } |