diff options
Diffstat (limited to 'drivers/edac/edac_module.h')
-rw-r--r-- | drivers/edac/edac_module.h | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/drivers/edac/edac_module.h b/drivers/edac/edac_module.h index ffd25bdf87fc..0869fbaa733c 100644 --- a/drivers/edac/edac_module.h +++ b/drivers/edac/edac_module.h | |||
@@ -40,12 +40,10 @@ extern struct sysdev_class *edac_get_edac_class(void); | |||
40 | /* edac core workqueue: single CPU mode */ | 40 | /* edac core workqueue: single CPU mode */ |
41 | extern struct workqueue_struct *edac_workqueue; | 41 | extern struct workqueue_struct *edac_workqueue; |
42 | extern void edac_device_workq_setup(struct edac_device_ctl_info *edac_dev, | 42 | extern void edac_device_workq_setup(struct edac_device_ctl_info *edac_dev, |
43 | unsigned msec); | 43 | unsigned msec); |
44 | extern void edac_device_workq_teardown(struct edac_device_ctl_info *edac_dev); | 44 | extern void edac_device_workq_teardown(struct edac_device_ctl_info *edac_dev); |
45 | extern void edac_device_reset_delay_period( | 45 | extern void edac_device_reset_delay_period(struct edac_device_ctl_info |
46 | struct edac_device_ctl_info *edac_dev, | 46 | *edac_dev, unsigned long value); |
47 | unsigned long value); | ||
48 | |||
49 | 47 | ||
50 | /* | 48 | /* |
51 | * EDAC PCI functions | 49 | * EDAC PCI functions |
@@ -57,7 +55,7 @@ extern int edac_sysfs_pci_setup(void); | |||
57 | extern void edac_sysfs_pci_teardown(void); | 55 | extern void edac_sysfs_pci_teardown(void); |
58 | extern int edac_pci_get_check_errors(void); | 56 | extern int edac_pci_get_check_errors(void); |
59 | extern int edac_pci_get_poll_msec(void); | 57 | extern int edac_pci_get_poll_msec(void); |
60 | #else /* CONFIG_PCI */ | 58 | #else /* CONFIG_PCI */ |
61 | /* pre-process these away */ | 59 | /* pre-process these away */ |
62 | #define edac_pci_do_parity_check() | 60 | #define edac_pci_do_parity_check() |
63 | #define edac_pci_clear_parity_errors() | 61 | #define edac_pci_clear_parity_errors() |
@@ -65,8 +63,6 @@ extern int edac_pci_get_poll_msec(void); | |||
65 | #define edac_sysfs_pci_teardown() | 63 | #define edac_sysfs_pci_teardown() |
66 | #define edac_pci_get_check_errors() | 64 | #define edac_pci_get_check_errors() |
67 | #define edac_pci_get_poll_msec() | 65 | #define edac_pci_get_poll_msec() |
68 | #endif /* CONFIG_PCI */ | 66 | #endif /* CONFIG_PCI */ |
69 | |||
70 | |||
71 | #endif /* __EDAC_MODULE_H__ */ | ||
72 | 67 | ||
68 | #endif /* __EDAC_MODULE_H__ */ | ||