aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/vr41xx/common/cmu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/vr41xx/common/cmu.c')
-rw-r--r--arch/mips/vr41xx/common/cmu.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/mips/vr41xx/common/cmu.c b/arch/mips/vr41xx/common/cmu.c
index 8ba7d04a5ec5..05302bfdd114 100644
--- a/arch/mips/vr41xx/common/cmu.c
+++ b/arch/mips/vr41xx/common/cmu.c
@@ -217,24 +217,24 @@ static int __init vr41xx_cmu_init(void)
217 unsigned long start, size; 217 unsigned long start, size;
218 218
219 switch (current_cpu_type()) { 219 switch (current_cpu_type()) {
220 case CPU_VR4111: 220 case CPU_VR4111:
221 case CPU_VR4121: 221 case CPU_VR4121:
222 start = CMU_TYPE1_BASE; 222 start = CMU_TYPE1_BASE;
223 size = CMU_TYPE1_SIZE; 223 size = CMU_TYPE1_SIZE;
224 break; 224 break;
225 case CPU_VR4122: 225 case CPU_VR4122:
226 case CPU_VR4131: 226 case CPU_VR4131:
227 start = CMU_TYPE2_BASE; 227 start = CMU_TYPE2_BASE;
228 size = CMU_TYPE2_SIZE; 228 size = CMU_TYPE2_SIZE;
229 break; 229 break;
230 case CPU_VR4133: 230 case CPU_VR4133:
231 start = CMU_TYPE3_BASE; 231 start = CMU_TYPE3_BASE;
232 size = CMU_TYPE3_SIZE; 232 size = CMU_TYPE3_SIZE;
233 break; 233 break;
234 default: 234 default:
235 panic("Unexpected CPU of NEC VR4100 series"); 235 panic("Unexpected CPU of NEC VR4100 series");
236 break; 236 break;
237 } 237 }
238 238
239 if (request_mem_region(start, size, "CMU") == NULL) 239 if (request_mem_region(start, size, "CMU") == NULL)
240 return -EBUSY; 240 return -EBUSY;