projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1b2358
)
[ARM] 5079/1: Warn people when using pxa2xx-gpio.h
author
Stefan Schmidt
<
[email protected]
>
Fri, 6 Jun 2008 09:12:37 +0000
(10:12 +0100)
committer
Russell King
<
[email protected]
>
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 <
[email protected]
>
Signed-off-by: Russell King <
[email protected]
>
include/asm-arm/arch-pxa/pxa2xx-gpio.h
patch
|
blob
|
history
diff --git
a/include/asm-arm/arch-pxa/pxa2xx-gpio.h
b/include/asm-arm/arch-pxa/pxa2xx-gpio.h
index 763313c5e6be4c2fe6b711676efd69fc28bd8ab5..a6e60f691617c708c265121f524258ff314728a0 100644
(file)
--- 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 */