summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-pxa
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@datenfreihafen.org>2008-06-06 10:12:37 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-07-07 13:23:39 +0100
commit5e329d1c7f5fe6adfee99c783fa98bda7dae8ac5 (patch)
tree2bafced116b72a8741f4231ae39d5c6d1f0e755f /include/asm-arm/arch-pxa
parentf1b23586c1f50d4c5684e56395140ec1cd8b688d (diff)
downloadkernel-crypto-5e329d1c7f5fe6adfee99c783fa98bda7dae8ac5.tar.gz
kernel-crypto-5e329d1c7f5fe6adfee99c783fa98bda7dae8ac5.tar.xz
kernel-crypto-5e329d1c7f5fe6adfee99c783fa98bda7dae8ac5.zip
[ARM] 5079/1: Warn people when using pxa2xx-gpio.h
Warn people when using pxa2xx-gpio.h as it is only here for backwards compatibility. The new mfp-pxa2[57]x.h and the relevant API should be used instead. Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/arch-pxa')
-rw-r--r--include/asm-arm/arch-pxa/pxa2xx-gpio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-arm/arch-pxa/pxa2xx-gpio.h b/include/asm-arm/arch-pxa/pxa2xx-gpio.h
index 763313c5e6b..a6e60f69161 100644
--- a/include/asm-arm/arch-pxa/pxa2xx-gpio.h
+++ b/include/asm-arm/arch-pxa/pxa2xx-gpio.h
@@ -1,6 +1,8 @@
#ifndef __ASM_ARCH_PXA2XX_GPIO_H
#define __ASM_ARCH_PXA2XX_GPIO_H
+#warning Please use mfp-pxa2[57]x.h instead of pxa2xx-gpio.h
+
/* GPIO alternate function assignments */
#define GPIO1_RST 1 /* reset */