EDAC: Unexport and make edac_subsys static

... and use the accessor instead.

Signed-off-by: Borislav Petkov <[email protected]>
This commit is contained in:
Borislav Petkov 2015-11-30 14:15:31 +01:00
commit a97d262701
2 changed files with 1 additions and 3 deletions

View file

@ -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)
{