diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-01-29 14:20:05 -0800 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-01-29 14:20:05 -0800 |
commit | 9198bcd39f558dd56823f1c9983e2252fc99a501 (patch) | |
tree | 2b0e721076aaafff39eb6c275969ecffbb0413f3 /tools | |
parent | abe94c756c08d50566c09a65b9c7fe72f83071c5 (diff) |
omap: define _toggle_gpio_edge_triggering only for OMAP1
The only usage of _toggle_gpio_edge_triggering is in
an #ifdef CONFIG_ARCH_OMAP1 block, so only provide it if
CONFIG_ARCH_OMAP1 is defined, too.
This fixes a compiler warning:
arch/arm/plat-omap/gpio.c:758: warning: '_toggle_gpio_edge_triggering' defined but not used
when compiling for ARCH_OMAP2, ARCH_OMAP3 or ARCH_OMAP4.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions