aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/vr41xx/common/giu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/vr41xx/common/giu.c')
-rw-r--r--arch/mips/vr41xx/common/giu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/vr41xx/common/giu.c b/arch/mips/vr41xx/common/giu.c
index d21f6f2d22a3..2b272f1496fe 100644
--- a/arch/mips/vr41xx/common/giu.c
+++ b/arch/mips/vr41xx/common/giu.c
@@ -81,7 +81,7 @@ static int __init vr41xx_giu_add(void)
if (!pdev)
return -ENOMEM;
- switch (current_cpu_data.cputype) {
+ switch (current_cpu_type()) {
case CPU_VR4111:
case CPU_VR4121:
pdev->id = GPIO_50PINS_PULLUPDOWN;