aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/vr41xx/common/rtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/vr41xx/common/rtc.c')
-rw-r--r--arch/mips/vr41xx/common/rtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/vr41xx/common/rtc.c b/arch/mips/vr41xx/common/rtc.c
index cce605b3d688..9f26c14edcac 100644
--- a/arch/mips/vr41xx/common/rtc.c
+++ b/arch/mips/vr41xx/common/rtc.c
@@ -82,7 +82,7 @@ static int __init vr41xx_rtc_add(void)
82 if (!pdev) 82 if (!pdev)
83 return -ENOMEM; 83 return -ENOMEM;
84 84
85 switch (current_cpu_data.cputype) { 85 switch (current_cpu_type()) {
86 case CPU_VR4111: 86 case CPU_VR4111:
87 case CPU_VR4121: 87 case CPU_VR4121:
88 res = rtc_type1_resource; 88 res = rtc_type1_resource;