sh: Fix up GENERIC_GPIO build for ARCH_WANT_OPTIONAL_GPIO cases.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 6 Jan 2009 03:47:12 +0000 (12:47 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 27 Jan 2009 05:49:10 +0000 (14:49 +0900)
commit57e97cb8bedd06e8a2e562454423d58aab5827ce
tree4681eab552da3dcc401c58ace0dea13d970732f4
parent69edbba0021a48fe034849501513930f6175cb5d
sh: Fix up GENERIC_GPIO build for ARCH_WANT_OPTIONAL_GPIO cases.

CPUs define pinmux tables through the optional interface, while boards
that require demux of their own require it explicitly. Roll the Makefile
rules back to depend on GENERIC_GPIO, which covers both cases.

Fixes a link error with an undefined reference to register_pinmux() on
optional platforms.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/Makefile_32
arch/sh/kernel/Makefile_64