summaryrefslogtreecommitdiffstats
path: root/drivers/edac/octeon_edac-l2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/edac/octeon_edac-l2c.c')
-rw-r--r--drivers/edac/octeon_edac-l2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/octeon_edac-l2c.c b/drivers/edac/octeon_edac-l2c.c
index 7e98084d3645..afea7fc625cc 100644
--- a/drivers/edac/octeon_edac-l2c.c
+++ b/drivers/edac/octeon_edac-l2c.c
@@ -151,7 +151,7 @@ static int octeon_l2c_probe(struct platform_device *pdev)
l2c->ctl_name = "octeon_l2c_err";
- if (OCTEON_IS_MODEL(OCTEON_FAM_1_PLUS)) {
+ if (OCTEON_IS_OCTEON1PLUS()) {
union cvmx_l2t_err l2t_err;
union cvmx_l2d_err l2d_err;