diff options
author | Lee Jones <lee.jones@linaro.org> | 2021-03-18 10:40:35 +0000 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2021-03-23 15:27:52 -0600 |
commit | f957d5b78a0dd95920644682e995992277773efb (patch) | |
tree | ad040aecf02893812e529a7d71d9941379eacc26 /drivers/of/overlay.c | |
parent | 1a7d706d8e2825993e2d82b4b0a3843912ba6bfe (diff) | |
download | linux-stable-f957d5b78a0dd95920644682e995992277773efb.tar.gz linux-stable-f957d5b78a0dd95920644682e995992277773efb.tar.bz2 linux-stable-f957d5b78a0dd95920644682e995992277773efb.zip |
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 <pantelis.antoniou@konsulko.com>
Cc: Frank Rowand <frowand.list@gmail.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: devicetree@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20210318104036.3175910-10-lee.jones@linaro.org
Diffstat (limited to 'drivers/of/overlay.c')
-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) |