aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/cavium-octeon/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/cavium-octeon/setup.c')
-rw-r--r--arch/mips/cavium-octeon/setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/cavium-octeon/setup.c b/arch/mips/cavium-octeon/setup.c
index 5ebdb32d9a2b..94f888d3384e 100644
--- a/arch/mips/cavium-octeon/setup.c
+++ b/arch/mips/cavium-octeon/setup.c
@@ -1092,7 +1092,7 @@ static int __init edac_devinit(void)
1092 name = edac_device_names[i]; 1092 name = edac_device_names[i];
1093 dev = platform_device_register_simple(name, -1, NULL, 0); 1093 dev = platform_device_register_simple(name, -1, NULL, 0);
1094 if (IS_ERR(dev)) { 1094 if (IS_ERR(dev)) {
1095 pr_err("Registation of %s failed!\n", name); 1095 pr_err("Registration of %s failed!\n", name);
1096 err = PTR_ERR(dev); 1096 err = PTR_ERR(dev);
1097 } 1097 }
1098 } 1098 }
@@ -1103,7 +1103,7 @@ static int __init edac_devinit(void)
1103 dev = platform_device_register_simple("octeon_lmc_edac", 1103 dev = platform_device_register_simple("octeon_lmc_edac",
1104 i, NULL, 0); 1104 i, NULL, 0);
1105 if (IS_ERR(dev)) { 1105 if (IS_ERR(dev)) {
1106 pr_err("Registation of octeon_lmc_edac %d failed!\n", i); 1106 pr_err("Registration of octeon_lmc_edac %d failed!\n", i);
1107 err = PTR_ERR(dev); 1107 err = PTR_ERR(dev);
1108 } 1108 }
1109 } 1109 }