summaryrefslogtreecommitdiffstats
path: root/drivers/edac/edac_module.c
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2015-11-30 14:15:31 +0100
committerBorislav Petkov <bp@suse.de>2015-12-11 16:56:40 +0100
commita97d26270169dc30ef28f0860097b7dc793206be (patch)
treeec7c90a4ebd1dee15ef609d9b498776aa4f98dc3 /drivers/edac/edac_module.c
parentEDAC: Rip out the edac_subsys reference counting (diff)
downloadlinux-a97d26270169dc30ef28f0860097b7dc793206be.tar.xz
linux-a97d26270169dc30ef28f0860097b7dc793206be.zip
EDAC: Unexport and make edac_subsys static
... and use the accessor instead. Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/edac/edac_module.c')
-rw-r--r--drivers/edac/edac_module.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/edac/edac_module.c b/drivers/edac/edac_module.c
index 059b5924988b..2b53680a687d 100644
--- a/drivers/edac/edac_module.c
+++ b/drivers/edac/edac_module.c
@@ -95,11 +95,10 @@ static void edac_workqueue_teardown(void)
* 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)
{