OSDN Git Service

of: overlay: Fix of_overlay_fdt_apply prototype when !CONFIG_OF_OVERLAY
[tomoyo/tomoyo-test1.git] / include / linux / of.h
index ed67981..6a9ddf2 100644 (file)
@@ -1676,8 +1676,8 @@ int of_overlay_notifier_unregister(struct notifier_block *nb);
 
 #else
 
-static inline int of_overlay_fdt_apply(void *overlay_fdt, u32 overlay_fdt_size,
-                                      int *ovcs_id)
+static inline int of_overlay_fdt_apply(const void *overlay_fdt, u32 overlay_fdt_size,
+                                      int *ovcs_id, struct device_node *target_base)
 {
        return -ENOTSUPP;
 }