History

of: use correct function prototype for of_overlay_fdt_apply()

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.

Chris Packham committed 7 years ago

Commit ecb0abc1 parent d0b8ed41 file · +2 −1Browse files

Unified · Split

include/linux/of.h+2−1
@@ -1449,7 +1449,8 @@ int of_overlay_notifier_unregister(struct notifier_block *nb); · 1448 unmodified lines
14491449
14501450 #else
14511451
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)
14531454 {
14541455 return -ENOTSUPP;
14551456 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t