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

Showing the changes to include/linux (1 of 1 file). Show all

Unified · Split

include/linux/of.h+2−1
@@ -1449,7 +1449,8 @@ int of_overlay_notifier_unregister(struct notifier_block *nb); · 1448 unmodified lines
1449 1449
1450#else1450#else
1451 1451
1452static inline int of_overlay_fdt_apply(void *overlay_fdt, int *ovcs_id)1452static inline int of_overlay_fdt_apply(void *overlay_fdt, u32 overlay_fdt_size,
1453 int *ovcs_id)
1453{1454{
1454 return -ENOTSUPP;1455 return -ENOTSUPP;
1455}1456}

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