diff options
author | Tony Lindgren <tony@atomide.com> | 2010-02-15 12:27:25 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-02-15 12:27:25 -0500 |
commit | 4751227df948582e82f19df30efa662ab71fa980 (patch) | |
tree | fcaa71e589feedf607377881109088b6eba50822 /arch | |
parent | 61a07c80a7cf7333475e7eda9934dac9a8a9c8b9 (diff) |
omap3/4: Fix compile for multi-omap for clkops_noncore_dpll_ops
Rename clkops_noncore_dpll_ops for omap3 and omap4.
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-omap2/clock34xx.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/clock34xx.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/clock34xx_data.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-omap2/clock44xx.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/clock44xx.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/clock44xx_data.c | 12 |
6 files changed, 13 insertions, 13 deletions
diff --git a/arch/arm/mach-omap2/clock34xx.c b/arch/arm/mach-omap2/clock34xx.c index 1f1b5a6b3eea..ae9e2c82eb6a 100644 --- a/arch/arm/mach-omap2/clock34xx.c +++ b/arch/arm/mach-omap2/clock34xx.c | |||
@@ -130,7 +130,7 @@ const struct clkops clkops_omap3430es2_hsotgusb_wait = { | |||
130 | .find_companion = omap2_clk_dflt_find_companion, | 130 | .find_companion = omap2_clk_dflt_find_companion, |
131 | }; | 131 | }; |
132 | 132 | ||
133 | const struct clkops clkops_noncore_dpll_ops = { | 133 | const struct clkops omap3_clkops_noncore_dpll_ops = { |
134 | .enable = omap3_noncore_dpll_enable, | 134 | .enable = omap3_noncore_dpll_enable, |
135 | .disable = omap3_noncore_dpll_disable, | 135 | .disable = omap3_noncore_dpll_disable, |
136 | }; | 136 | }; |
diff --git a/arch/arm/mach-omap2/clock34xx.h b/arch/arm/mach-omap2/clock34xx.h index 73f2109d6436..313efc0e5a0f 100644 --- a/arch/arm/mach-omap2/clock34xx.h +++ b/arch/arm/mach-omap2/clock34xx.h | |||
@@ -20,6 +20,6 @@ extern struct clk *arm_fck_p; | |||
20 | extern const struct clkops clkops_omap3430es2_ssi_wait; | 20 | extern const struct clkops clkops_omap3430es2_ssi_wait; |
21 | extern const struct clkops clkops_omap3430es2_hsotgusb_wait; | 21 | extern const struct clkops clkops_omap3430es2_hsotgusb_wait; |
22 | extern const struct clkops clkops_omap3430es2_dss_usbhost_wait; | 22 | extern const struct clkops clkops_omap3430es2_dss_usbhost_wait; |
23 | extern const struct clkops clkops_noncore_dpll_ops; | 23 | extern const struct clkops omap3_clkops_noncore_dpll_ops; |
24 | 24 | ||
25 | #endif | 25 | #endif |
diff --git a/arch/arm/mach-omap2/clock34xx_data.c b/arch/arm/mach-omap2/clock34xx_data.c index 0d04f92f63e1..8728f1fbc5b1 100644 --- a/arch/arm/mach-omap2/clock34xx_data.c +++ b/arch/arm/mach-omap2/clock34xx_data.c | |||
@@ -337,7 +337,7 @@ static struct dpll_data dpll2_dd = { | |||
337 | 337 | ||
338 | static struct clk dpll2_ck = { | 338 | static struct clk dpll2_ck = { |
339 | .name = "dpll2_ck", | 339 | .name = "dpll2_ck", |
340 | .ops = &clkops_noncore_dpll_ops, | 340 | .ops = &omap3_clkops_noncore_dpll_ops, |
341 | .parent = &sys_ck, | 341 | .parent = &sys_ck, |
342 | .dpll_data = &dpll2_dd, | 342 | .dpll_data = &dpll2_dd, |
343 | .round_rate = &omap2_dpll_round_rate, | 343 | .round_rate = &omap2_dpll_round_rate, |
@@ -554,7 +554,7 @@ static struct dpll_data dpll4_dd = { | |||
554 | 554 | ||
555 | static struct clk dpll4_ck = { | 555 | static struct clk dpll4_ck = { |
556 | .name = "dpll4_ck", | 556 | .name = "dpll4_ck", |
557 | .ops = &clkops_noncore_dpll_ops, | 557 | .ops = &omap3_clkops_noncore_dpll_ops, |
558 | .parent = &sys_ck, | 558 | .parent = &sys_ck, |
559 | .dpll_data = &dpll4_dd, | 559 | .dpll_data = &dpll4_dd, |
560 | .round_rate = &omap2_dpll_round_rate, | 560 | .round_rate = &omap2_dpll_round_rate, |
@@ -854,7 +854,7 @@ static struct dpll_data dpll5_dd = { | |||
854 | 854 | ||
855 | static struct clk dpll5_ck = { | 855 | static struct clk dpll5_ck = { |
856 | .name = "dpll5_ck", | 856 | .name = "dpll5_ck", |
857 | .ops = &clkops_noncore_dpll_ops, | 857 | .ops = &omap3_clkops_noncore_dpll_ops, |
858 | .parent = &sys_ck, | 858 | .parent = &sys_ck, |
859 | .dpll_data = &dpll5_dd, | 859 | .dpll_data = &dpll5_dd, |
860 | .round_rate = &omap2_dpll_round_rate, | 860 | .round_rate = &omap2_dpll_round_rate, |
diff --git a/arch/arm/mach-omap2/clock44xx.c b/arch/arm/mach-omap2/clock44xx.c index c238717e3760..84ee6b0c7995 100644 --- a/arch/arm/mach-omap2/clock44xx.c +++ b/arch/arm/mach-omap2/clock44xx.c | |||
@@ -13,7 +13,7 @@ | |||
13 | #include <linux/errno.h> | 13 | #include <linux/errno.h> |
14 | #include "clock.h" | 14 | #include "clock.h" |
15 | 15 | ||
16 | const struct clkops clkops_noncore_dpll_ops = { | 16 | const struct clkops omap4_clkops_noncore_dpll_ops = { |
17 | .enable = &omap3_noncore_dpll_enable, | 17 | .enable = &omap3_noncore_dpll_enable, |
18 | .disable = &omap3_noncore_dpll_disable, | 18 | .disable = &omap3_noncore_dpll_disable, |
19 | }; | 19 | }; |
diff --git a/arch/arm/mach-omap2/clock44xx.h b/arch/arm/mach-omap2/clock44xx.h index 1f55b6b574fb..efe849416aac 100644 --- a/arch/arm/mach-omap2/clock44xx.h +++ b/arch/arm/mach-omap2/clock44xx.h | |||
@@ -12,6 +12,6 @@ | |||
12 | 12 | ||
13 | int omap4xxx_clk_init(void); | 13 | int omap4xxx_clk_init(void); |
14 | 14 | ||
15 | extern const struct clkops clkops_noncore_dpll_ops; | 15 | extern const struct clkops omap4_clkops_noncore_dpll_ops; |
16 | 16 | ||
17 | #endif | 17 | #endif |
diff --git a/arch/arm/mach-omap2/clock44xx_data.c b/arch/arm/mach-omap2/clock44xx_data.c index 35ffe638def8..86af31d80a34 100644 --- a/arch/arm/mach-omap2/clock44xx_data.c +++ b/arch/arm/mach-omap2/clock44xx_data.c | |||
@@ -279,7 +279,7 @@ static struct clk dpll_abe_ck = { | |||
279 | .parent = &abe_dpll_refclk_mux_ck, | 279 | .parent = &abe_dpll_refclk_mux_ck, |
280 | .dpll_data = &dpll_abe_dd, | 280 | .dpll_data = &dpll_abe_dd, |
281 | .init = &omap2_init_dpll_parent, | 281 | .init = &omap2_init_dpll_parent, |
282 | .ops = &clkops_noncore_dpll_ops, | 282 | .ops = &omap4_clkops_noncore_dpll_ops, |
283 | .recalc = &omap3_dpll_recalc, | 283 | .recalc = &omap3_dpll_recalc, |
284 | .round_rate = &omap2_dpll_round_rate, | 284 | .round_rate = &omap2_dpll_round_rate, |
285 | .set_rate = &omap3_noncore_dpll_set_rate, | 285 | .set_rate = &omap3_noncore_dpll_set_rate, |
@@ -668,7 +668,7 @@ static struct clk dpll_iva_ck = { | |||
668 | .parent = &dpll_sys_ref_clk, | 668 | .parent = &dpll_sys_ref_clk, |
669 | .dpll_data = &dpll_iva_dd, | 669 | .dpll_data = &dpll_iva_dd, |
670 | .init = &omap2_init_dpll_parent, | 670 | .init = &omap2_init_dpll_parent, |
671 | .ops = &clkops_noncore_dpll_ops, | 671 | .ops = &omap4_clkops_noncore_dpll_ops, |
672 | .recalc = &omap3_dpll_recalc, | 672 | .recalc = &omap3_dpll_recalc, |
673 | .round_rate = &omap2_dpll_round_rate, | 673 | .round_rate = &omap2_dpll_round_rate, |
674 | .set_rate = &omap3_noncore_dpll_set_rate, | 674 | .set_rate = &omap3_noncore_dpll_set_rate, |
@@ -731,7 +731,7 @@ static struct clk dpll_mpu_ck = { | |||
731 | .parent = &dpll_sys_ref_clk, | 731 | .parent = &dpll_sys_ref_clk, |
732 | .dpll_data = &dpll_mpu_dd, | 732 | .dpll_data = &dpll_mpu_dd, |
733 | .init = &omap2_init_dpll_parent, | 733 | .init = &omap2_init_dpll_parent, |
734 | .ops = &clkops_noncore_dpll_ops, | 734 | .ops = &omap4_clkops_noncore_dpll_ops, |
735 | .recalc = &omap3_dpll_recalc, | 735 | .recalc = &omap3_dpll_recalc, |
736 | .round_rate = &omap2_dpll_round_rate, | 736 | .round_rate = &omap2_dpll_round_rate, |
737 | .set_rate = &omap3_noncore_dpll_set_rate, | 737 | .set_rate = &omap3_noncore_dpll_set_rate, |
@@ -807,7 +807,7 @@ static struct clk dpll_per_ck = { | |||
807 | .parent = &dpll_sys_ref_clk, | 807 | .parent = &dpll_sys_ref_clk, |
808 | .dpll_data = &dpll_per_dd, | 808 | .dpll_data = &dpll_per_dd, |
809 | .init = &omap2_init_dpll_parent, | 809 | .init = &omap2_init_dpll_parent, |
810 | .ops = &clkops_noncore_dpll_ops, | 810 | .ops = &omap4_clkops_noncore_dpll_ops, |
811 | .recalc = &omap3_dpll_recalc, | 811 | .recalc = &omap3_dpll_recalc, |
812 | .round_rate = &omap2_dpll_round_rate, | 812 | .round_rate = &omap2_dpll_round_rate, |
813 | .set_rate = &omap3_noncore_dpll_set_rate, | 813 | .set_rate = &omap3_noncore_dpll_set_rate, |
@@ -930,7 +930,7 @@ static struct clk dpll_unipro_ck = { | |||
930 | .parent = &dpll_sys_ref_clk, | 930 | .parent = &dpll_sys_ref_clk, |
931 | .dpll_data = &dpll_unipro_dd, | 931 | .dpll_data = &dpll_unipro_dd, |
932 | .init = &omap2_init_dpll_parent, | 932 | .init = &omap2_init_dpll_parent, |
933 | .ops = &clkops_noncore_dpll_ops, | 933 | .ops = &omap4_clkops_noncore_dpll_ops, |
934 | .recalc = &omap3_dpll_recalc, | 934 | .recalc = &omap3_dpll_recalc, |
935 | .round_rate = &omap2_dpll_round_rate, | 935 | .round_rate = &omap2_dpll_round_rate, |
936 | .set_rate = &omap3_noncore_dpll_set_rate, | 936 | .set_rate = &omap3_noncore_dpll_set_rate, |
@@ -988,7 +988,7 @@ static struct clk dpll_usb_ck = { | |||
988 | .parent = &dpll_sys_ref_clk, | 988 | .parent = &dpll_sys_ref_clk, |
989 | .dpll_data = &dpll_usb_dd, | 989 | .dpll_data = &dpll_usb_dd, |
990 | .init = &omap2_init_dpll_parent, | 990 | .init = &omap2_init_dpll_parent, |
991 | .ops = &clkops_noncore_dpll_ops, | 991 | .ops = &omap4_clkops_noncore_dpll_ops, |
992 | .recalc = &omap3_dpll_recalc, | 992 | .recalc = &omap3_dpll_recalc, |
993 | .round_rate = &omap2_dpll_round_rate, | 993 | .round_rate = &omap2_dpll_round_rate, |
994 | .set_rate = &omap3_noncore_dpll_set_rate, | 994 | .set_rate = &omap3_noncore_dpll_set_rate, |