diff options
Diffstat (limited to 'arch/arm/mach-omap2/omap_hwmod.c')
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c index 437fbc59eb0c..b3b00f43dd7c 100644 --- a/arch/arm/mach-omap2/omap_hwmod.c +++ b/arch/arm/mach-omap2/omap_hwmod.c | |||
@@ -141,7 +141,6 @@ | |||
141 | 141 | ||
142 | #include "clock.h" | 142 | #include "clock.h" |
143 | #include "omap_hwmod.h" | 143 | #include "omap_hwmod.h" |
144 | #include <plat/prcm.h> | ||
145 | 144 | ||
146 | #include "soc.h" | 145 | #include "soc.h" |
147 | #include "common.h" | 146 | #include "common.h" |
@@ -151,6 +150,7 @@ | |||
151 | #include "cm3xxx.h" | 150 | #include "cm3xxx.h" |
152 | #include "cminst44xx.h" | 151 | #include "cminst44xx.h" |
153 | #include "cm33xx.h" | 152 | #include "cm33xx.h" |
153 | #include "prm.h" | ||
154 | #include "prm3xxx.h" | 154 | #include "prm3xxx.h" |
155 | #include "prm44xx.h" | 155 | #include "prm44xx.h" |
156 | #include "prm33xx.h" | 156 | #include "prm33xx.h" |
@@ -158,9 +158,6 @@ | |||
158 | #include "mux.h" | 158 | #include "mux.h" |
159 | #include "pm.h" | 159 | #include "pm.h" |
160 | 160 | ||
161 | /* Maximum microseconds to wait for OMAP module to softreset */ | ||
162 | #define MAX_MODULE_SOFTRESET_WAIT 10000 | ||
163 | |||
164 | /* Name of the OMAP hwmod for the MPU */ | 161 | /* Name of the OMAP hwmod for the MPU */ |
165 | #define MPU_INITIATOR_NAME "mpu" | 162 | #define MPU_INITIATOR_NAME "mpu" |
166 | 163 | ||
@@ -2096,7 +2093,8 @@ static int _enable(struct omap_hwmod *oh) | |||
2096 | _enable_sysc(oh); | 2093 | _enable_sysc(oh); |
2097 | } | 2094 | } |
2098 | } else { | 2095 | } else { |
2099 | _omap4_disable_module(oh); | 2096 | if (soc_ops.disable_module) |
2097 | soc_ops.disable_module(oh); | ||
2100 | _disable_clocks(oh); | 2098 | _disable_clocks(oh); |
2101 | pr_debug("omap_hwmod: %s: _wait_target_ready: %d\n", | 2099 | pr_debug("omap_hwmod: %s: _wait_target_ready: %d\n", |
2102 | oh->name, r); | 2100 | oh->name, r); |