diff options
author | Len Brown <len.brown@intel.com> | 2011-01-12 18:06:06 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2011-01-12 18:06:06 -0500 |
commit | 56dbed129df3fdd4caf9018b6e7599ee258a5420 (patch) | |
tree | b902491aef3a99efe0d9d49edd0f6e414dba654f /arch/arm/mach-omap2/dsp.c | |
parent | 2a2d31c8dc6f1ebcf5eab1d93a0cb0fb4ed57c7c (diff) | |
parent | f878133bf022717b880d0e0995b8f91436fd605c (diff) |
Merge branch 'linus' into idle-test
Diffstat (limited to 'arch/arm/mach-omap2/dsp.c')
-rw-r--r-- | arch/arm/mach-omap2/dsp.c | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/arch/arm/mach-omap2/dsp.c b/arch/arm/mach-omap2/dsp.c index 6feeeae6c21b..911cd2e68d46 100644 --- a/arch/arm/mach-omap2/dsp.c +++ b/arch/arm/mach-omap2/dsp.c | |||
@@ -11,9 +11,16 @@ | |||
11 | * published by the Free Software Foundation. | 11 | * published by the Free Software Foundation. |
12 | */ | 12 | */ |
13 | 13 | ||
14 | /* | ||
15 | * XXX The function pointers to the PRM/CM functions are incorrect and | ||
16 | * should be removed. No device driver should be changing PRM/CM bits | ||
17 | * directly; that's a layering violation -- those bits are the responsibility | ||
18 | * of the OMAP PM core code. | ||
19 | */ | ||
20 | |||
14 | #include <linux/platform_device.h> | 21 | #include <linux/platform_device.h> |
15 | #include "prm.h" | 22 | #include "cm2xxx_3xxx.h" |
16 | #include "cm.h" | 23 | #include "prm2xxx_3xxx.h" |
17 | #ifdef CONFIG_BRIDGE_DVFS | 24 | #ifdef CONFIG_BRIDGE_DVFS |
18 | #include <plat/omap-pm.h> | 25 | #include <plat/omap-pm.h> |
19 | #endif | 26 | #endif |
@@ -31,12 +38,12 @@ static struct omap_dsp_platform_data omap_dsp_pdata __initdata = { | |||
31 | .cpu_set_freq = omap_pm_cpu_set_freq, | 38 | .cpu_set_freq = omap_pm_cpu_set_freq, |
32 | .cpu_get_freq = omap_pm_cpu_get_freq, | 39 | .cpu_get_freq = omap_pm_cpu_get_freq, |
33 | #endif | 40 | #endif |
34 | .dsp_prm_read = prm_read_mod_reg, | 41 | .dsp_prm_read = omap2_prm_read_mod_reg, |
35 | .dsp_prm_write = prm_write_mod_reg, | 42 | .dsp_prm_write = omap2_prm_write_mod_reg, |
36 | .dsp_prm_rmw_bits = prm_rmw_mod_reg_bits, | 43 | .dsp_prm_rmw_bits = omap2_prm_rmw_mod_reg_bits, |
37 | .dsp_cm_read = cm_read_mod_reg, | 44 | .dsp_cm_read = omap2_cm_read_mod_reg, |
38 | .dsp_cm_write = cm_write_mod_reg, | 45 | .dsp_cm_write = omap2_cm_write_mod_reg, |
39 | .dsp_cm_rmw_bits = cm_rmw_mod_reg_bits, | 46 | .dsp_cm_rmw_bits = omap2_cm_rmw_mod_reg_bits, |
40 | }; | 47 | }; |
41 | 48 | ||
42 | static int __init omap_dsp_init(void) | 49 | static int __init omap_dsp_init(void) |