aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mmp/include
diff options
context:
space:
mode:
authorTanmay Upadhyay <tanmay.upadhyay@einfochips.com>2011-05-02 01:59:58 -0400
committerEric Miao <eric.y.miao@gmail.com>2011-07-12 07:50:35 -0400
commit26407f818e62a88ac9cee64f250ec844fb079862 (patch)
treee519a5509b075cbe1c47e2871f6ddf279cd500db /arch/arm/mach-mmp/include
parent41646b24993590c49d21e6cc0f4378505e1f94a6 (diff)
ARM: pxa168: Add support for UART3
PXA168 has 3 onchip UARTs. Added support for the third one Signed-off-by: Tanmay Upadhyay <tanmay.upadhyay@einfochips.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-mmp/include')
-rw-r--r--arch/arm/mach-mmp/include/mach/pxa168.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-mmp/include/mach/pxa168.h b/arch/arm/mach-mmp/include/mach/pxa168.h
index a52b3d2f325c..705e963574d9 100644
--- a/arch/arm/mach-mmp/include/mach/pxa168.h
+++ b/arch/arm/mach-mmp/include/mach/pxa168.h
@@ -17,6 +17,7 @@ extern void pxa168_clear_keypad_wakeup(void);
17 17
18extern struct pxa_device_desc pxa168_device_uart1; 18extern struct pxa_device_desc pxa168_device_uart1;
19extern struct pxa_device_desc pxa168_device_uart2; 19extern struct pxa_device_desc pxa168_device_uart2;
20extern struct pxa_device_desc pxa168_device_uart3;
20extern struct pxa_device_desc pxa168_device_twsi0; 21extern struct pxa_device_desc pxa168_device_twsi0;
21extern struct pxa_device_desc pxa168_device_twsi1; 22extern struct pxa_device_desc pxa168_device_twsi1;
22extern struct pxa_device_desc pxa168_device_pwm1; 23extern struct pxa_device_desc pxa168_device_pwm1;
@@ -39,6 +40,7 @@ static inline int pxa168_add_uart(int id)
39 switch (id) { 40 switch (id) {
40 case 1: d = &pxa168_device_uart1; break; 41 case 1: d = &pxa168_device_uart1; break;
41 case 2: d = &pxa168_device_uart2; break; 42 case 2: d = &pxa168_device_uart2; break;
43 case 3: d = &pxa168_device_uart3; break;
42 } 44 }
43 45
44 if (d == NULL) 46 if (d == NULL)