sh: Only build in gpio.o when CONFIG_GENERIC_GPIO is selected.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 20 Oct 2008 04:04:06 +0000 (13:04 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 20 Oct 2008 04:04:06 +0000 (13:04 +0900)
commitebf9c118df678de111eda45709081806f71710cc
treea4e48873a8e26c809661b5929dd54e1a6867c28c
parent7639a4541f7e7abb1295ff8ab39cc2f5842239ae
sh: Only build in gpio.o when CONFIG_GENERIC_GPIO is selected.

The pinmux management is tied in to this code, while it is presently only
used by platforms that select GENERIC_GPIO. The asm/gpio.h definitions
are not referenced when GENERIC_GPIO is disabled, resulting in a build
failure for all of the platforms that don't select it.

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