From: Uwe Kleine-König Date: Fri, 29 Jan 2010 22:20:05 +0000 (-0800) Subject: omap: define _toggle_gpio_edge_triggering only for OMAP1 X-Git-Tag: v2.6.33-rc7~11^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9198bcd39f558dd56823f1c9983e2252fc99a501;p=pandora-kernel.git 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 Acked-by: Kevin Hilman Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed