diff options
author | Manjunathappa, Prakash <prakash.pm@ti.com> | 2013-06-19 05:15:38 -0400 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2013-07-22 06:04:55 -0400 |
commit | 19955c3d7453757271d05859958ca1804a5d2d67 (patch) | |
tree | 978e156a66db7dae2435c23046a75757958f8e5f /arch/arm/mach-davinci/include/mach | |
parent | 3b2f64d00c46e1e4e9bd0bb9bb12619adac27a4b (diff) |
ARM: davinci: uart: move to devid based clk_get
For modules having single clock, clk_get should be done with dev_id.
But current davinci implementation handles multiple instances
of the UART devices with single platform_device_register. Hence clk_get
is based on con_id rather than dev_id, this is not correct. Do
platform_device_register for each instance and clk_get on dev_id.
Signed-off-by: Manjunathappa, Prakash <prakash.pm@ti.com>
[nsekhar@ti.com: actually stop using con_id in clk_get(), squash the
patch adding OF aux data into this one]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/include/mach')
-rw-r--r-- | arch/arm/mach-davinci/include/mach/da8xx.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-davinci/include/mach/tnetv107x.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-davinci/include/mach/da8xx.h b/arch/arm/mach-davinci/include/mach/da8xx.h index 7b41a5e9bc31..aae53072c0eb 100644 --- a/arch/arm/mach-davinci/include/mach/da8xx.h +++ b/arch/arm/mach-davinci/include/mach/da8xx.h | |||
@@ -111,7 +111,7 @@ void da8xx_restart(enum reboot_mode mode, const char *cmd); | |||
111 | void da8xx_rproc_reserve_cma(void); | 111 | void da8xx_rproc_reserve_cma(void); |
112 | int da8xx_register_rproc(void); | 112 | int da8xx_register_rproc(void); |
113 | 113 | ||
114 | extern struct platform_device da8xx_serial_device; | 114 | extern struct platform_device da8xx_serial_device[]; |
115 | extern struct emac_platform_data da8xx_emac_pdata; | 115 | extern struct emac_platform_data da8xx_emac_pdata; |
116 | extern struct da8xx_lcdc_platform_data sharp_lcd035q3dg01_pdata; | 116 | extern struct da8xx_lcdc_platform_data sharp_lcd035q3dg01_pdata; |
117 | extern struct da8xx_lcdc_platform_data sharp_lk043t1dg01_pdata; | 117 | extern struct da8xx_lcdc_platform_data sharp_lk043t1dg01_pdata; |
diff --git a/arch/arm/mach-davinci/include/mach/tnetv107x.h b/arch/arm/mach-davinci/include/mach/tnetv107x.h index 16314c64f755..beb7c0e9114d 100644 --- a/arch/arm/mach-davinci/include/mach/tnetv107x.h +++ b/arch/arm/mach-davinci/include/mach/tnetv107x.h | |||
@@ -50,7 +50,7 @@ struct tnetv107x_device_info { | |||
50 | }; | 50 | }; |
51 | 51 | ||
52 | extern struct platform_device tnetv107x_wdt_device; | 52 | extern struct platform_device tnetv107x_wdt_device; |
53 | extern struct platform_device tnetv107x_serial_device; | 53 | extern struct platform_device tnetv107x_serial_device[]; |
54 | 54 | ||
55 | extern void tnetv107x_init(void); | 55 | extern void tnetv107x_init(void); |
56 | extern void tnetv107x_devices_init(struct tnetv107x_device_info *); | 56 | extern void tnetv107x_devices_init(struct tnetv107x_device_info *); |