diff options
Diffstat (limited to 'drivers/scsi/pmcraid.c')
-rw-r--r-- | drivers/scsi/pmcraid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/pmcraid.c b/drivers/scsi/pmcraid.c index c0ab7bb8c3ce..845affa112f7 100644 --- a/drivers/scsi/pmcraid.c +++ b/drivers/scsi/pmcraid.c | |||
@@ -1368,7 +1368,7 @@ static struct genl_multicast_group pmcraid_mcgrps[] = { | |||
1368 | { .name = "events", /* not really used - see ID discussion below */ }, | 1368 | { .name = "events", /* not really used - see ID discussion below */ }, |
1369 | }; | 1369 | }; |
1370 | 1370 | ||
1371 | static struct genl_family pmcraid_event_family = { | 1371 | static struct genl_family pmcraid_event_family __ro_after_init = { |
1372 | .module = THIS_MODULE, | 1372 | .module = THIS_MODULE, |
1373 | .name = "pmcraid", | 1373 | .name = "pmcraid", |
1374 | .version = 1, | 1374 | .version = 1, |
@@ -1384,7 +1384,7 @@ static struct genl_family pmcraid_event_family = { | |||
1384 | * 0 if the pmcraid_event_family is successfully registered | 1384 | * 0 if the pmcraid_event_family is successfully registered |
1385 | * with netlink generic, non-zero otherwise | 1385 | * with netlink generic, non-zero otherwise |
1386 | */ | 1386 | */ |
1387 | static int pmcraid_netlink_init(void) | 1387 | static int __init pmcraid_netlink_init(void) |
1388 | { | 1388 | { |
1389 | int result; | 1389 | int result; |
1390 | 1390 | ||