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)
commit5312f321a67cfee1fe4de245bc558fa857dce33b
tree37bc806756eadfbb794a746c5a8b7dbef6a559ed
parent6ac7e4d7ad70640310feedc2e5f1cb712685cb05
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: 6a24f567af4accef ("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