aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac/edac_mc_sysfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/edac/edac_mc_sysfs.c')
-rw-r--r--drivers/edac/edac_mc_sysfs.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/drivers/edac/edac_mc_sysfs.c b/drivers/edac/edac_mc_sysfs.c
index 6e2785bd011c..6b2217b741fb 100644
--- a/drivers/edac/edac_mc_sysfs.c
+++ b/drivers/edac/edac_mc_sysfs.c
@@ -22,22 +22,28 @@ static int panic_on_ue;
22static int poll_msec = 1000; 22static int poll_msec = 1000;
23 23
24/* Getter functions for above */ 24/* Getter functions for above */
25int edac_get_log_ue() 25int edac_get_log_ue(void)
26{ 26{
27 return log_ue; 27 return log_ue;
28} 28}
29 29
30int edac_get_log_ce() 30int edac_get_log_ce(void)
31{ 31{
32 return log_ce; 32 return log_ce;
33} 33}
34 34
35int edac_get_panic_on_ue() 35int edac_get_panic_on_ue(void)
36{ 36{
37 return panic_on_ue; 37 return panic_on_ue;
38} 38}
39 39
40int edac_get_poll_msec() 40/* this is temporary */
41int edac_mc_get_poll_msec(void)
42{
43 return edac_get_poll_msec();
44}
45
46int edac_get_poll_msec(void)
41{ 47{
42 return poll_msec; 48 return poll_msec;
43} 49}