aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac/edac_module.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/edac/edac_module.h')
-rw-r--r--drivers/edac/edac_module.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/edac/edac_module.h b/drivers/edac/edac_module.h
index 22c52e43131d..ffd25bdf87fc 100644
--- a/drivers/edac/edac_module.h
+++ b/drivers/edac/edac_module.h
@@ -27,6 +27,9 @@ extern void edac_check_mc_devices(void);
27extern int edac_get_log_ue(void); 27extern int edac_get_log_ue(void);
28extern int edac_get_log_ce(void); 28extern int edac_get_log_ce(void);
29extern int edac_get_panic_on_ue(void); 29extern int edac_get_panic_on_ue(void);
30extern int edac_mc_get_log_ue(void);
31extern int edac_mc_get_log_ce(void);
32extern int edac_mc_get_panic_on_ue(void);
30extern int edac_get_poll_msec(void); 33extern int edac_get_poll_msec(void);
31extern int edac_mc_get_poll_msec(void); 34extern int edac_mc_get_poll_msec(void);
32 35
@@ -52,12 +55,16 @@ extern void edac_pci_do_parity_check(void);
52extern void edac_pci_clear_parity_errors(void); 55extern void edac_pci_clear_parity_errors(void);
53extern int edac_sysfs_pci_setup(void); 56extern int edac_sysfs_pci_setup(void);
54extern void edac_sysfs_pci_teardown(void); 57extern void edac_sysfs_pci_teardown(void);
58extern int edac_pci_get_check_errors(void);
59extern int edac_pci_get_poll_msec(void);
55#else /* CONFIG_PCI */ 60#else /* CONFIG_PCI */
56/* pre-process these away */ 61/* pre-process these away */
57#define edac_pci_do_parity_check() 62#define edac_pci_do_parity_check()
58#define edac_pci_clear_parity_errors() 63#define edac_pci_clear_parity_errors()
59#define edac_sysfs_pci_setup() (0) 64#define edac_sysfs_pci_setup() (0)
60#define edac_sysfs_pci_teardown() 65#define edac_sysfs_pci_teardown()
66#define edac_pci_get_check_errors()
67#define edac_pci_get_poll_msec()
61#endif /* CONFIG_PCI */ 68#endif /* CONFIG_PCI */
62 69
63 70