1 #ifndef __ASM_MACH_PXA168_H
2 #define __ASM_MACH_PXA168_H
4 #include <mach/devices.h>
6 extern struct pxa_device_desc pxa168_device_uart1;
7 extern struct pxa_device_desc pxa168_device_uart2;
9 static inline int pxa168_add_uart(int id)
11 struct pxa_device_desc *d = NULL;
14 case 1: d = &pxa168_device_uart1; break;
15 case 2: d = &pxa168_device_uart2; break;
21 return pxa_register_device(d, NULL, 0);
23 #endif /* __ASM_MACH_PXA168_H */