summaryrefslogtreecommitdiffstats
path: root/arch/mips/vr41xx/common/siu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/vr41xx/common/siu.c')
-rw-r--r--arch/mips/vr41xx/common/siu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/vr41xx/common/siu.c b/arch/mips/vr41xx/common/siu.c
index a1e774142163..b735f45b25f0 100644
--- a/arch/mips/vr41xx/common/siu.c
+++ b/arch/mips/vr41xx/common/siu.c
@@ -83,7 +83,7 @@ static int __init vr41xx_siu_add(void)
if (!pdev)
return -ENOMEM;
- switch (current_cpu_data.cputype) {
+ switch (current_cpu_type()) {
case CPU_VR4111:
case CPU_VR4121:
pdev->dev.platform_data = siu_type1_ports;
OpenPOWER on IntegriCloud