EDAC: Octeon: Fix lack of opstate_init
authorDaniel Walker <dwalker@fifo99.com>
Fri, 20 Sep 2013 22:46:40 +0000 (15:46 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 31 Mar 2014 16:17:12 +0000 (18:17 +0200)
commit5331de0570b95a105b74eff9d39d9a79656743b2
tree9ca002d85f30bd9ee488ffe3ce48cb5a3c61cbad
parente009189ed9f67cecd0f5277b6f972eec996acd4f
EDAC: Octeon: Fix lack of opstate_init

If the opstate_init() isn't called the driver won't start properly.

I just added it in what appears to be an appropriate place.

Signed-off-by: Daniel Walker <dwalker@fifo99.com>
Cc: David Daney <david.daney@cavium.com>
Cc: Doug Thompson <dougthompson@xmission.com>
Cc: linux-edac@vger.kernel.org
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/5872/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
drivers/edac/octeon_edac-lmc.c