... and use the accessor instead.
Signed-off-by: Borislav Petkov <bp@suse.de>
* 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)
{
extern int edac_op_state;
extern int edac_err_assert;
extern atomic_t edac_handlers;
-extern struct bus_type edac_subsys;
extern int edac_handler_set(void);
extern void edac_atomic_assert_error(void);