diff options
Diffstat (limited to 'arch/arm/mach-omap2/pdata-quirks.c')
-rw-r--r-- | arch/arm/mach-omap2/pdata-quirks.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/arm/mach-omap2/pdata-quirks.c b/arch/arm/mach-omap2/pdata-quirks.c index 3e1407c909f7..111b8a2923e6 100644 --- a/arch/arm/mach-omap2/pdata-quirks.c +++ b/arch/arm/mach-omap2/pdata-quirks.c | |||
@@ -31,20 +31,6 @@ struct pdata_init { | |||
31 | struct of_dev_auxdata omap_auxdata_lookup[]; | 31 | struct of_dev_auxdata omap_auxdata_lookup[]; |
32 | static struct twl4030_gpio_platform_data twl_gpio_auxdata; | 32 | static struct twl4030_gpio_platform_data twl_gpio_auxdata; |
33 | 33 | ||
34 | /* | ||
35 | * Create alias for USB host PHY clock. | ||
36 | * Remove this when clock phandle can be provided via DT | ||
37 | */ | ||
38 | static void __init __used legacy_init_ehci_clk(char *clkname) | ||
39 | { | ||
40 | int ret; | ||
41 | |||
42 | ret = clk_add_alias("main_clk", NULL, clkname, NULL); | ||
43 | if (ret) | ||
44 | pr_err("%s:Failed to add main_clk alias to %s :%d\n", | ||
45 | __func__, clkname, ret); | ||
46 | } | ||
47 | |||
48 | #if IS_ENABLED(CONFIG_WL12XX) | 34 | #if IS_ENABLED(CONFIG_WL12XX) |
49 | 35 | ||
50 | static struct wl12xx_platform_data wl12xx __initdata; | 36 | static struct wl12xx_platform_data wl12xx __initdata; |
@@ -243,7 +229,6 @@ static void __init omap4_sdp_legacy_init(void) | |||
243 | static void __init omap4_panda_legacy_init(void) | 229 | static void __init omap4_panda_legacy_init(void) |
244 | { | 230 | { |
245 | omap4_panda_display_init_of(); | 231 | omap4_panda_display_init_of(); |
246 | legacy_init_ehci_clk("auxclk3_ck"); | ||
247 | legacy_init_wl12xx(WL12XX_REFCLOCK_38, 0, 53); | 232 | legacy_init_wl12xx(WL12XX_REFCLOCK_38, 0, 53); |
248 | } | 233 | } |
249 | #endif | 234 | #endif |
@@ -251,7 +236,6 @@ static void __init omap4_panda_legacy_init(void) | |||
251 | #ifdef CONFIG_SOC_OMAP5 | 236 | #ifdef CONFIG_SOC_OMAP5 |
252 | static void __init omap5_uevm_legacy_init(void) | 237 | static void __init omap5_uevm_legacy_init(void) |
253 | { | 238 | { |
254 | legacy_init_ehci_clk("auxclk1_ck"); | ||
255 | } | 239 | } |
256 | #endif | 240 | #endif |
257 | 241 | ||