[ARM] 5079/1: Warn people when using pxa2xx-gpio.h
authorStefan Schmidt <stefan@datenfreihafen.org>
Fri, 6 Jun 2008 09:12:37 +0000 (10:12 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 7 Jul 2008 12:23:39 +0000 (13:23 +0100)
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>
include/asm-arm/arch-pxa/pxa2xx-gpio.h

index 763313c5e6be4c2fe6b711676efd69fc28bd8ab5..a6e60f691617c708c265121f524258ff314728a0 100644 (file)
@@ -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 */