[PATCH] pinctrl: pinconf: Fix compilation error if PINCONF is not selected

Linus Walleij linus.walleij at linaro.org
Mon Apr 16 05:09:35 EDT 2012


On Mon, Apr 16, 2012 at 10:52 AM, Viresh Kumar <viresh.kumar at st.com> wrote:

> When we compile pinctrl layer for platforms without CONFIG_PINCONF, we get
> following compilation errors:
>
> drivers/built-in.o: In function `pinctrl_show':
> linux-2.6/drivers/pinctrl/core.c:1116: undefined
> reference to `pinconf_show_setting'
> drivers/built-in.o: In function `pinctrl_maps_show':
> linux-2.6/drivers/pinctrl/core.c:1071: undefined
> reference to `pinconf_show_map'
> drivers/built-in.o: In function `pinctrl_init_device_debugfs':
> linux-2.6/drivers/pinctrl/core.c:1224: undefined
> reference to `pinconf_init_device_debugfs'
> make[1]: *** [.tmp_vmlinux1] Error 1
>
> This patch fixes this.
>
> Signed-off-by: Viresh Kumar <viresh.kumar at st.com>

Ooops! Patch applied. Will push this for the -rc:s.

Thanks,
Linus Walleij



More information about the linux-arm-kernel mailing list