aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mmp/include/mach/pxa168.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mmp/include/mach/pxa168.h')
-rw-r--r--arch/arm/mach-mmp/include/mach/pxa168.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-mmp/include/mach/pxa168.h b/arch/arm/mach-mmp/include/mach/pxa168.h
index 220738f9c5e0..f34e6638fc6c 100644
--- a/arch/arm/mach-mmp/include/mach/pxa168.h
+++ b/arch/arm/mach-mmp/include/mach/pxa168.h
@@ -11,6 +11,7 @@ extern void __init pxa168_init_irq(void);
11#include <plat/i2c.h> 11#include <plat/i2c.h>
12#include <plat/pxa3xx_nand.h> 12#include <plat/pxa3xx_nand.h>
13#include <video/pxa168fb.h> 13#include <video/pxa168fb.h>
14#include <plat/pxa27x_keypad.h>
14 15
15extern struct pxa_device_desc pxa168_device_uart1; 16extern struct pxa_device_desc pxa168_device_uart1;
16extern struct pxa_device_desc pxa168_device_uart2; 17extern struct pxa_device_desc pxa168_device_uart2;
@@ -27,6 +28,7 @@ extern struct pxa_device_desc pxa168_device_ssp4;
27extern struct pxa_device_desc pxa168_device_ssp5; 28extern struct pxa_device_desc pxa168_device_ssp5;
28extern struct pxa_device_desc pxa168_device_nand; 29extern struct pxa_device_desc pxa168_device_nand;
29extern struct pxa_device_desc pxa168_device_fb; 30extern struct pxa_device_desc pxa168_device_fb;
31extern struct pxa_device_desc pxa168_device_keypad;
30 32
31static inline int pxa168_add_uart(int id) 33static inline int pxa168_add_uart(int id)
32{ 34{
@@ -105,4 +107,9 @@ static inline int pxa168_add_fb(struct pxa168fb_mach_info *mi)
105 return pxa_register_device(&pxa168_device_fb, mi, sizeof(*mi)); 107 return pxa_register_device(&pxa168_device_fb, mi, sizeof(*mi));
106} 108}
107 109
110static inline int pxa168_add_keypad(struct pxa27x_keypad_platform_data *data)
111{
112 return pxa_register_device(&pxa168_device_keypad, data, sizeof(*data));
113}
114
108#endif /* __ASM_MACH_PXA168_H */ 115#endif /* __ASM_MACH_PXA168_H */