diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2018-03-09 05:44:47 -0500 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2018-03-17 19:18:38 -0400 |
commit | a514266ba675b28ff223ecd1fc431810ec828337 (patch) | |
tree | 3a6c183d7d799d1bfa493a4f3a31cac47c1763b1 /drivers/of/overlay.c | |
parent | d0843e61690c1d107b92234ee5c1cf6a65293d9d (diff) |
of: overlay: Fix forgotten reference to of_overlay_apply()
While technically the ovcs_id is still returned by of_overlay_apply(),
this is an internal function. All public callers of of_overlay_remove()
pass an ovcs_id returned by the public function of_overlay_fdt_apply().
Fixes: 39a751a4cb7e4798 ("of: change overlay apply input data from unflattened to FDT")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rob Herring <robh@kernel.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 30d91f907026..b35fe88f1851 100644 --- a/drivers/of/overlay.c +++ b/drivers/of/overlay.c | |||
@@ -970,7 +970,7 @@ static int overlay_removal_is_ok(struct overlay_changeset *remove_ovcs) | |||
970 | * @ovcs_id: Pointer to overlay changeset id | 970 | * @ovcs_id: Pointer to overlay changeset id |
971 | * | 971 | * |
972 | * Removes an overlay if it is permissible. @ovcs_id was previously returned | 972 | * Removes an overlay if it is permissible. @ovcs_id was previously returned |
973 | * by of_overlay_apply(). | 973 | * by of_overlay_fdt_apply(). |
974 | * | 974 | * |
975 | * If an error occurred while attempting to revert the overlay changeset, | 975 | * If an error occurred while attempting to revert the overlay changeset, |
976 | * then an attempt is made to re-apply any changeset entry that was | 976 | * then an attempt is made to re-apply any changeset entry that was |