diff options
author | Rob Herring <rob.herring@calxeda.com> | 2012-06-12 04:32:12 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-06-12 17:15:49 +0200 |
commit | e7930ba49e469d9ce7374a788336caf955f8d7e2 (patch) | |
tree | e022c408057f46881d8da9cfd9b76d5b34e551d5 /drivers/edac/edac_module.c | |
parent | sb_edac: properly handle error count (diff) | |
download | linux-e7930ba49e469d9ce7374a788336caf955f8d7e2.tar.xz linux-e7930ba49e469d9ce7374a788336caf955f8d7e2.zip |
edac: create top-level debugfs directory
Create a single, top-level "edac" directory for debugfs. An "mc[0-N]"
directory is then created for each memory controller. Individual drivers
can create additional entries such as h/w error injection control.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/edac/edac_module.c')
-rw-r--r-- | drivers/edac/edac_module.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/edac/edac_module.c b/drivers/edac/edac_module.c index 3454798c270e..58a28d838f37 100644 --- a/drivers/edac/edac_module.c +++ b/drivers/edac/edac_module.c @@ -94,6 +94,8 @@ static int __init edac_init(void) if (err) goto error; + edac_debugfs_init(); + /* Setup/Initialize the workq for this core */ err = edac_workqueue_setup(); if (err) { @@ -118,6 +120,7 @@ static void __exit edac_exit(void) /* tear down the various subsystems */ edac_workqueue_teardown(); edac_mc_sysfs_exit(); + edac_debugfs_exit(); } /* |