diff options
Diffstat (limited to 'arch/arm/mach-msm/devices-qsd8x50.c')
-rw-r--r-- | arch/arm/mach-msm/devices-qsd8x50.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/arch/arm/mach-msm/devices-qsd8x50.c b/arch/arm/mach-msm/devices-qsd8x50.c index 2e1b3ec9dfc7..f5518112284b 100644 --- a/arch/arm/mach-msm/devices-qsd8x50.c +++ b/arch/arm/mach-msm/devices-qsd8x50.c | |||
@@ -28,6 +28,7 @@ | |||
28 | #include <asm/mach/flash.h> | 28 | #include <asm/mach/flash.h> |
29 | 29 | ||
30 | #include <linux/platform_data/mmc-msm_sdcc.h> | 30 | #include <linux/platform_data/mmc-msm_sdcc.h> |
31 | #include "clock.h" | ||
31 | #include "clock-pcom.h" | 32 | #include "clock-pcom.h" |
32 | 33 | ||
33 | static struct resource msm_gpio_resources[] = { | 34 | static struct resource msm_gpio_resources[] = { |
@@ -322,7 +323,7 @@ int __init msm_add_sdcc(unsigned int controller, | |||
322 | return platform_device_register(pdev); | 323 | return platform_device_register(pdev); |
323 | } | 324 | } |
324 | 325 | ||
325 | struct clk_lookup msm_clocks_8x50[] = { | 326 | static struct clk_pcom_desc msm_clocks_8x50[] = { |
326 | CLK_PCOM("adm_clk", ADM_CLK, NULL, 0), | 327 | CLK_PCOM("adm_clk", ADM_CLK, NULL, 0), |
327 | CLK_PCOM("ce_clk", CE_CLK, NULL, 0), | 328 | CLK_PCOM("ce_clk", CE_CLK, NULL, 0), |
328 | CLK_PCOM("ebi1_clk", EBI1_CLK, NULL, CLK_MIN), | 329 | CLK_PCOM("ebi1_clk", EBI1_CLK, NULL, CLK_MIN), |
@@ -376,5 +377,12 @@ struct clk_lookup msm_clocks_8x50[] = { | |||
376 | CLK_PCOM("usb_phy_clk", USB_PHY_CLK, NULL, 0), | 377 | CLK_PCOM("usb_phy_clk", USB_PHY_CLK, NULL, 0), |
377 | }; | 378 | }; |
378 | 379 | ||
379 | unsigned msm_num_clocks_8x50 = ARRAY_SIZE(msm_clocks_8x50); | 380 | static struct pcom_clk_pdata msm_clock_8x50_pdata = { |
381 | .lookup = msm_clocks_8x50, | ||
382 | .num_lookups = ARRAY_SIZE(msm_clocks_8x50), | ||
383 | }; | ||
380 | 384 | ||
385 | struct platform_device msm_clock_8x50 = { | ||
386 | .name = "msm-clock-pcom", | ||
387 | .dev.platform_data = &msm_clock_8x50_pdata, | ||
388 | }; | ||