Browse Source

[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>
Stefan Schmidt 17 years ago
parent
commit
5e329d1c7f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      include/asm-arm/arch-pxa/pxa2xx-gpio.h

+ 2 - 0
include/asm-arm/arch-pxa/pxa2xx-gpio.h

@@ -1,6 +1,8 @@
 #ifndef __ASM_ARCH_PXA2XX_GPIO_H
 #ifndef __ASM_ARCH_PXA2XX_GPIO_H
 #define __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 */
 /* GPIO alternate function assignments */
 
 
 #define GPIO1_RST		1	/* reset */
 #define GPIO1_RST		1	/* reset */