diff options
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/mac53c94.c | 7 | ||||
-rw-r--r-- | drivers/scsi/mesh.c | 7 |
2 files changed, 10 insertions, 4 deletions
diff --git a/drivers/scsi/mac53c94.c b/drivers/scsi/mac53c94.c index 18735b39b3d3..3ddb4dc62d5d 100644 --- a/drivers/scsi/mac53c94.c +++ b/drivers/scsi/mac53c94.c | |||
@@ -542,8 +542,11 @@ MODULE_DEVICE_TABLE (of, mac53c94_match); | |||
542 | 542 | ||
543 | static struct macio_driver mac53c94_driver = | 543 | static struct macio_driver mac53c94_driver = |
544 | { | 544 | { |
545 | .name = "mac53c94", | 545 | .driver = { |
546 | .match_table = mac53c94_match, | 546 | .name = "mac53c94", |
547 | .owner = THIS_MODULE, | ||
548 | .of_match_table = mac53c94_match, | ||
549 | }, | ||
547 | .probe = mac53c94_probe, | 550 | .probe = mac53c94_probe, |
548 | .remove = mac53c94_remove, | 551 | .remove = mac53c94_remove, |
549 | }; | 552 | }; |
diff --git a/drivers/scsi/mesh.c b/drivers/scsi/mesh.c index a1c97e88068a..1f784fde2510 100644 --- a/drivers/scsi/mesh.c +++ b/drivers/scsi/mesh.c | |||
@@ -2036,8 +2036,11 @@ MODULE_DEVICE_TABLE (of, mesh_match); | |||
2036 | 2036 | ||
2037 | static struct macio_driver mesh_driver = | 2037 | static struct macio_driver mesh_driver = |
2038 | { | 2038 | { |
2039 | .name = "mesh", | 2039 | .driver = { |
2040 | .match_table = mesh_match, | 2040 | .name = "mesh", |
2041 | .owner = THIS_MODULE, | ||
2042 | .of_match_table = mesh_match, | ||
2043 | }, | ||
2041 | .probe = mesh_probe, | 2044 | .probe = mesh_probe, |
2042 | .remove = mesh_remove, | 2045 | .remove = mesh_remove, |
2043 | .shutdown = mesh_shutdown, | 2046 | .shutdown = mesh_shutdown, |