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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/edac/edac_module.h b/drivers/edac/edac_module.h
index 3664ae9ccd63..cbc419c8ebc1 100644
--- a/drivers/edac/edac_module.h
+++ b/drivers/edac/edac_module.h
@@ -66,6 +66,10 @@ extern int edac_sysfs_pci_setup(void);
66extern void edac_sysfs_pci_teardown(void); 66extern void edac_sysfs_pci_teardown(void);
67extern int edac_pci_get_check_errors(void); 67extern int edac_pci_get_check_errors(void);
68extern int edac_pci_get_poll_msec(void); 68extern int edac_pci_get_poll_msec(void);
69extern void edac_pci_remove_sysfs(struct edac_pci_ctl_info *pci);
70extern void edac_pci_handle_pe(struct edac_pci_ctl_info *pci, const char *msg);
71extern void edac_pci_handle_npe(struct edac_pci_ctl_info *pci,
72 const char *msg);
69#else /* CONFIG_PCI */ 73#else /* CONFIG_PCI */
70/* pre-process these away */ 74/* pre-process these away */
71#define edac_pci_do_parity_check() 75#define edac_pci_do_parity_check()
@@ -74,6 +78,8 @@ extern int edac_pci_get_poll_msec(void);
74#define edac_sysfs_pci_teardown() 78#define edac_sysfs_pci_teardown()
75#define edac_pci_get_check_errors() 79#define edac_pci_get_check_errors()
76#define edac_pci_get_poll_msec() 80#define edac_pci_get_poll_msec()
81#define edac_pci_handle_pe()
82#define edac_pci_handle_npe()
77#endif /* CONFIG_PCI */ 83#endif /* CONFIG_PCI */
78 84
79#endif /* __EDAC_MODULE_H__ */ 85#endif /* __EDAC_MODULE_H__ */