diff options
Diffstat (limited to 'drivers/edac/edac_module.h')
-rw-r--r-- | drivers/edac/edac_module.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/edac/edac_module.h b/drivers/edac/edac_module.h index 0ea7d14cb930..1af13676e857 100644 --- a/drivers/edac/edac_module.h +++ b/drivers/edac/edac_module.h | |||
@@ -19,12 +19,12 @@ | |||
19 | * | 19 | * |
20 | * edac_mc objects | 20 | * edac_mc objects |
21 | */ | 21 | */ |
22 | extern int edac_sysfs_setup_mc_kset(void); | 22 | /* on edac_mc_sysfs.c */ |
23 | extern void edac_sysfs_teardown_mc_kset(void); | 23 | int edac_mc_sysfs_init(void); |
24 | extern int edac_mc_register_sysfs_main_kobj(struct mem_ctl_info *mci); | 24 | void edac_mc_sysfs_exit(void); |
25 | extern void edac_mc_unregister_sysfs_main_kobj(struct mem_ctl_info *mci); | ||
26 | extern int edac_create_sysfs_mci_device(struct mem_ctl_info *mci); | 25 | extern int edac_create_sysfs_mci_device(struct mem_ctl_info *mci); |
27 | extern void edac_remove_sysfs_mci_device(struct mem_ctl_info *mci); | 26 | extern void edac_remove_sysfs_mci_device(struct mem_ctl_info *mci); |
27 | void edac_unregister_sysfs(struct mem_ctl_info *mci); | ||
28 | extern int edac_get_log_ue(void); | 28 | extern int edac_get_log_ue(void); |
29 | extern int edac_get_log_ce(void); | 29 | extern int edac_get_log_ce(void); |
30 | extern int edac_get_panic_on_ue(void); | 30 | extern int edac_get_panic_on_ue(void); |
@@ -34,6 +34,7 @@ extern int edac_mc_get_panic_on_ue(void); | |||
34 | extern int edac_get_poll_msec(void); | 34 | extern int edac_get_poll_msec(void); |
35 | extern int edac_mc_get_poll_msec(void); | 35 | extern int edac_mc_get_poll_msec(void); |
36 | 36 | ||
37 | /* on edac_device.c */ | ||
37 | extern int edac_device_register_sysfs_main_kobj( | 38 | extern int edac_device_register_sysfs_main_kobj( |
38 | struct edac_device_ctl_info *edac_dev); | 39 | struct edac_device_ctl_info *edac_dev); |
39 | extern void edac_device_unregister_sysfs_main_kobj( | 40 | extern void edac_device_unregister_sysfs_main_kobj( |