EDAC: Unexport and make edac_subsys static
... and use the accessor instead.
Signed-off-by: Borislav Petkov <bp@suse.de>
diff --git a/drivers/edac/edac_module.c b/drivers/edac/edac_module.c
index 059b592..2b53680 100644
--- a/drivers/edac/edac_module.c
+++ b/drivers/edac/edac_module.c
@@ -95,11 +95,10 @@
* sysfs object: /sys/devices/system/edac
* need to export to other files
*/
-struct bus_type edac_subsys = {
+static struct bus_type edac_subsys = {
.name = "edac",
.dev_name = "edac",
};
-EXPORT_SYMBOL_GPL(edac_subsys);
static int edac_subsys_init(void)
{