diff options
author | Lee Jones <[email protected]> | 2021-03-18 10:40:35 +0000 |
---|---|---|
committer | Rob Herring <[email protected]> | 2021-03-23 15:27:52 -0600 |
commit | f957d5b78a0dd95920644682e995992277773efb (patch) | |
tree | ad040aecf02893812e529a7d71d9941379eacc26 | |
parent | 1a7d706d8e2825993e2d82b4b0a3843912ba6bfe (diff) |
of: overlay: Fix function name disparity
Fixes the following W=1 kernel build warning(s):
drivers/of/overlay.c:147: warning: expecting prototype for of_overlay_notifier_register(). Prototype was for of_overlay_notifier_unregister() instead
Cc: Pantelis Antoniou <[email protected]>
Cc: Frank Rowand <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: [email protected]
Signed-off-by: Lee Jones <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
-rw-r--r-- | drivers/of/overlay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/overlay.c b/drivers/of/overlay.c index 50bbe0edf538..1c867a5e4c7c 100644 --- a/drivers/of/overlay.c +++ b/drivers/of/overlay.c @@ -140,7 +140,7 @@ int of_overlay_notifier_register(struct notifier_block *nb) EXPORT_SYMBOL_GPL(of_overlay_notifier_register); /** - * of_overlay_notifier_register() - Unregister notifier for overlay operations + * of_overlay_notifier_unregister() - Unregister notifier for overlay operations * @nb: Notifier block to unregister */ int of_overlay_notifier_unregister(struct notifier_block *nb) |