Skip to content

Commit

Permalink
[ARM] 5079/1: Warn people when using pxa2xx-gpio.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stefan Schmidt authored and Russell King committed Jul 7, 2008
1 parent f1b2358 commit 5e329d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/asm-arm/arch-pxa/pxa2xx-gpio.h
Original file line number Diff line number Diff line change
@@ -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 */
Expand Down

0 comments on commit 5e329d1

Please sign in to comment.