]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: syscon: Fix syscon_regmap_lookup_by_phandle_args() dummy
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 30 Jan 2020 12:55:29 +0000 (13:55 +0100)
committerLee Jones <lee.jones@linaro.org>
Mon, 3 Feb 2020 08:39:49 +0000 (08:39 +0000)
commitf9a217be07315df8d50301ca7252a901ca98efb1
tree37bc806756eadfbb794a746c5a8b7dbef6a559ed
parent887311b0697f803b94ae10a5843a34bd1e653842
mfd: syscon: Fix syscon_regmap_lookup_by_phandle_args() dummy

If CONFIG_MFD_SYSCON=n:

    include/linux/mfd/syscon.h:54:23: warning: ‘syscon_regmap_lookup_by_phandle_args’ defined but not used [-Wunused-function]

Fix this by adding the missing inline keyword.

Fixes: 984a59e007d36a65 ("mfd: syscon: Add arguments support for syscon reference")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
include/linux/mfd/syscon.h