aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac/altera_edac.h
diff options
context:
space:
mode:
authorThor Thayer <tthayer@opensource.altera.com>2016-03-31 13:48:01 -0500
committerBorislav Petkov <bp@suse.de>2016-04-02 13:27:06 +0200
commite17ced2cb61ac63efb5ab54fee8e45aaa437c874 (patch)
treed455899bef346ede94b3f0114daa6309f64269a7 /drivers/edac/altera_edac.h
parentARM: socfpga: Enable Arria10 L2 cache ECC on startup (diff)
downloadlinux-dev-e17ced2cb61ac63efb5ab54fee8e45aaa437c874.tar.xz
linux-dev-e17ced2cb61ac63efb5ab54fee8e45aaa437c874.zip
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>
Diffstat (limited to 'drivers/edac/altera_edac.h')
-rw-r--r--drivers/edac/altera_edac.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/edac/altera_edac.h b/drivers/edac/altera_edac.h
index b0a17d03c715..c995388b415b 100644
--- a/drivers/edac/altera_edac.h
+++ b/drivers/edac/altera_edac.h
@@ -262,6 +262,7 @@ struct edac_device_prv_data {
irqreturn_t (*ecc_irq_handler)(struct altr_edac_device_dev *dci,
bool sb);
int trig_alloc_sz;
+ const struct file_operations *inject_fops;
};
struct altr_edac_device_dev {