EDAC, altera: Extract error inject operations to a struct fops
authorThor Thayer <tthayer@opensource.altera.com>
Thu, 31 Mar 2016 18:48:01 +0000 (13:48 -0500)
committerBorislav Petkov <bp@suse.de>
Sat, 2 Apr 2016 11:27:06 +0000 (13:27 +0200)
commite17ced2cb61ac63efb5ab54fee8e45aaa437c874
treed455899bef346ede94b3f0114daa6309f64269a7
parentff6fd1478c531a40279cf013227279f31ff90b41
EDAC, altera: Extract error inject operations to a struct fops

In preparation for the Arria10 peripheral ECCs, extract the inject file
operations because the Arria10 IRQ trigger mechanism is different than
Cyclone5/Arria5 and Arria10 L2 cache.

Signed-off-by: Thor Thayer <tthayer@opensource.altera.com>
Cc: devicetree@vger.kernel.org
Cc: dinguyen@opensource.altera.com
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux@arm.linux.org.uk
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/1459450087-24792-2-git-send-email-tthayer@opensource.altera.com
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/altera_edac.c
drivers/edac/altera_edac.h