OSDN Git Service

pinctrl: generic: Fix compilation error
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 13 Mar 2013 11:43:46 +0000 (17:13 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 13 Mar 2013 18:39:59 +0000 (19:39 +0100)
commitbf4d7be57ba9040347065f48a60f895a254f6e28
treec22e60b6a340ea8912a5c337961b9bb9181339d7
parent53ded8191e81507da0786ac45152eebb68d25d0c
pinctrl: generic: Fix compilation error

The function definition of pinconf_generic_dump_config is defined
under CONFIG_DEBUG_FS macro. Define the declaration too under this macro.

Without this patch we get the following build error:
drivers/built-in.o: In function `pcs_pinconf_config_dbg_show':
drivers/pinctrl/pinctrl-single.c:726: undefined reference to
`pinconf_generic_dump_config'

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinconf.h