of: use correct function prototype for of_overlay_fdt_apply()
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Fri, 22 Mar 2019 00:23:41 +0000 (13:23 +1300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Jan 2020 13:50:37 +0000 (14:50 +0100)
commit963a94102f63624a86342292996c12e879d32930
tree9b07e52177f910e5478da36f636037490e6406d9
parent6535e7409825ba7204b51d8c1d2a8b640fd1409b
of: use correct function prototype for of_overlay_fdt_apply()

[ Upstream commit ecb0abc1d8528015957fbd034be8bfe760363b3b ]

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.

Fixes: 39a751a4cb7e ("of: change overlay apply input data from unflattened to FDT")
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Reviewed-by: Frank Rowand <frank.rowand@sony.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/linux/of.h