summaryrefslogtreecommitdiffstats
path: root/drivers/edac/octeon_edac-l2c.c
diff options
context:
space:
mode:
authorAaro Koskinen <aaro.koskinen@nokia.com>2015-07-01 13:38:52 +0300
committerBorislav Petkov <bp@suse.de>2015-07-02 10:46:28 +0200
commit75a15a7864c9e281c74a1670b10b69d1d7ff1c82 (patch)
tree8556242361f148430824fb5a06fa7f845f3fd66a /drivers/edac/octeon_edac-l2c.c
parent043b43180efee8dcc41dde5ca710827b26d17510 (diff)
downloadop-kernel-dev-75a15a7864c9e281c74a1670b10b69d1d7ff1c82.zip
op-kernel-dev-75a15a7864c9e281c74a1670b10b69d1d7ff1c82.tar.gz
EDAC, octeon: Fix broken build due to model helper renames
Commit debe6a623d3c ("MIPS: OCTEON: Update octeon-model.h code for new SoCs.") renamed some SoC model helper functions, but forgot to update the EDAC drivers resulting in build failures. Fix that. Cc: stable@vger.kernel.org # v4.0+ Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com> Acked-by: David Daney <david.daney@cavium.com> Cc: Mauro Carvalho Chehab <mchehab@osg.samsung.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: linux-edac <linux-edac@vger.kernel.org> Cc: linux-mips@linux-mips.org Link: http://lkml.kernel.org/r/1435747132-10954-1-git-send-email-aaro.koskinen@nokia.com Signed-off-by: Borislav Petkov <bp@suse.de>
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 7e98084..afea7fc 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;
OpenPOWER on IntegriCloud