aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac/edac_module.h
diff options
context:
space:
mode:
authorDouglas Thompson <dougthompson@xmission.com>2007-07-19 04:50:29 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-19 13:04:57 -0400
commit1c3631ff1f805cb72644fcde02b7c58950f21cd5 (patch)
tree2d0f8867f21cf2dedb7d94a262028898333583f4 /drivers/edac/edac_module.h
parent8096cfafbb7ad3cb1a286ae7e8086167f4ebb4b6 (diff)
drivers/edac: fix edac_device sysfs completion code
With feedback, this patch corrects operation of the kobject release operation on kobjects, attributes and controls for the edac_device. Cc: Alan Cox alan@lxorguk.ukuu.org.uk Signed-off-by: Doug Thompson <dougthompson@xmission.com> Acked-by: Greg KH <greg@kroah.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/edac/edac_module.h')
-rw-r--r--drivers/edac/edac_module.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/edac/edac_module.h b/drivers/edac/edac_module.h
index 6368cc658fc6..a2134dfc3cc6 100644
--- a/drivers/edac/edac_module.h
+++ b/drivers/edac/edac_module.h
@@ -37,6 +37,10 @@ extern int edac_mc_get_panic_on_ue(void);
37extern int edac_get_poll_msec(void); 37extern int edac_get_poll_msec(void);
38extern int edac_mc_get_poll_msec(void); 38extern int edac_mc_get_poll_msec(void);
39 39
40extern int edac_device_register_sysfs_main_kobj(
41 struct edac_device_ctl_info *edac_dev);
42extern void edac_device_unregister_sysfs_main_kobj(
43 struct edac_device_ctl_info *edac_dev);
40extern int edac_device_create_sysfs(struct edac_device_ctl_info *edac_dev); 44extern int edac_device_create_sysfs(struct edac_device_ctl_info *edac_dev);
41extern void edac_device_remove_sysfs(struct edac_device_ctl_info *edac_dev); 45extern void edac_device_remove_sysfs(struct edac_device_ctl_info *edac_dev);
42extern struct sysdev_class *edac_get_edac_class(void); 46extern struct sysdev_class *edac_get_edac_class(void);