firewire: cdev: fix user memory corruption (i386 userland on amd64 kernel)
[firefly-linux-kernel-4.4.55.git] / drivers / edac / edac_module.c
index cbba80d3423ae02e384c6efb8dd9edf78937308b..58a28d838f37bfef26450bacdf11c8a338f6dcc7 100644 (file)
@@ -15,7 +15,7 @@
 #include "edac_core.h"
 #include "edac_module.h"
 
-#define EDAC_VERSION "Ver: 2.1.0"
+#define EDAC_VERSION "Ver: 3.0.0"
 
 #ifdef CONFIG_EDAC_DEBUG
 /* Values of 0 to 4 will generate output */
@@ -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();
 }
 
 /*