diff options
author | Haojian Zhuang <haojian.zhuang@marvell.com> | 2011-10-17 08:37:52 -0400 |
---|---|---|
committer | Haojian Zhuang <hzhuang1@hexinfolabs.org> | 2011-11-15 06:08:27 -0500 |
commit | 157d2644cb0c1e71a18baaffca56d2b1d0ebf10f (patch) | |
tree | e33d224362ce8ac0706725f02ecd8b89c3645934 /arch/arm/mach-mmp/include/mach/pxa168.h | |
parent | 9bf448c66d4b4cb03813b39195d408701ecf1fab (diff) |
ARM: pxa: change gpio to platform device
Remove most gpio macros and change gpio driver to platform driver.
Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Diffstat (limited to 'arch/arm/mach-mmp/include/mach/pxa168.h')
-rw-r--r-- | arch/arm/mach-mmp/include/mach/pxa168.h | 2 |
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 7fb568d2845b..f9286089da3a 100644 --- a/arch/arm/mach-mmp/include/mach/pxa168.h +++ b/arch/arm/mach-mmp/include/mach/pxa168.h | |||
@@ -42,6 +42,8 @@ struct pxa168_usb_pdata { | |||
42 | /* pdata can be NULL */ | 42 | /* pdata can be NULL */ |
43 | int __init pxa168_add_usb_host(struct pxa168_usb_pdata *pdata); | 43 | int __init pxa168_add_usb_host(struct pxa168_usb_pdata *pdata); |
44 | 44 | ||
45 | extern struct platform_device pxa168_device_gpio; | ||
46 | |||
45 | static inline int pxa168_add_uart(int id) | 47 | static inline int pxa168_add_uart(int id) |
46 | { | 48 | { |
47 | struct pxa_device_desc *d = NULL; | 49 | struct pxa_device_desc *d = NULL; |