aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/block/viodasd.c3
-rw-r--r--drivers/cdrom/viocd.c3
-rw-r--r--drivers/char/hvcs.c1
-rw-r--r--drivers/char/viotape.c3
-rw-r--r--drivers/net/ibmveth.c2
-rw-r--r--drivers/net/iseries_veth.c1
-rw-r--r--drivers/scsi/ibmvscsi/ibmvscsi.c3
7 files changed, 11 insertions, 5 deletions
diff --git a/drivers/block/viodasd.c b/drivers/block/viodasd.c
index ea72faa83436..709f809f79f1 100644
--- a/drivers/block/viodasd.c
+++ b/drivers/block/viodasd.c
@@ -778,14 +778,15 @@ static struct vio_device_id viodasd_device_table[] __devinitdata = {
778 { "viodasd", "" }, 778 { "viodasd", "" },
779 { "", "" } 779 { "", "" }
780}; 780};
781
782MODULE_DEVICE_TABLE(vio, viodasd_device_table); 781MODULE_DEVICE_TABLE(vio, viodasd_device_table);
782
783static struct vio_driver viodasd_driver = { 783static struct vio_driver viodasd_driver = {
784 .id_table = viodasd_device_table, 784 .id_table = viodasd_device_table,
785 .probe = viodasd_probe, 785 .probe = viodasd_probe,
786 .remove = viodasd_remove, 786 .remove = viodasd_remove,
787 .driver = { 787 .driver = {
788 .name = "viodasd", 788 .name = "viodasd",
789 .owner = THIS_MODULE,
789 } 790 }
790}; 791};
791 792
diff --git a/drivers/cdrom/viocd.c b/drivers/cdrom/viocd.c
index 255d24ad704b..36f31d202223 100644
--- a/drivers/cdrom/viocd.c
+++ b/drivers/cdrom/viocd.c
@@ -736,14 +736,15 @@ static struct vio_device_id viocd_device_table[] __devinitdata = {
736 { "viocd", "" }, 736 { "viocd", "" },
737 { "", "" } 737 { "", "" }
738}; 738};
739
740MODULE_DEVICE_TABLE(vio, viocd_device_table); 739MODULE_DEVICE_TABLE(vio, viocd_device_table);
740
741static struct vio_driver viocd_driver = { 741static struct vio_driver viocd_driver = {
742 .id_table = viocd_device_table, 742 .id_table = viocd_device_table,
743 .probe = viocd_probe, 743 .probe = viocd_probe,
744 .remove = viocd_remove, 744 .remove = viocd_remove,
745 .driver = { 745 .driver = {
746 .name = "viocd", 746 .name = "viocd",
747 .owner = THIS_MODULE,
747 } 748 }
748}; 749};
749 750
diff --git a/drivers/char/hvcs.c b/drivers/char/hvcs.c
index 8486298c011f..53dc77c760fc 100644
--- a/drivers/char/hvcs.c
+++ b/drivers/char/hvcs.c
@@ -725,6 +725,7 @@ static struct vio_driver hvcs_vio_driver = {
725 .remove = hvcs_remove, 725 .remove = hvcs_remove,
726 .driver = { 726 .driver = {
727 .name = hvcs_driver_name, 727 .name = hvcs_driver_name,
728 .owner = THIS_MODULE,
728 } 729 }
729}; 730};
730 731
diff --git a/drivers/char/viotape.c b/drivers/char/viotape.c
index 8fc1115c4b69..d92a05645007 100644
--- a/drivers/char/viotape.c
+++ b/drivers/char/viotape.c
@@ -993,14 +993,15 @@ static struct vio_device_id viotape_device_table[] __devinitdata = {
993 { "viotape", "" }, 993 { "viotape", "" },
994 { "", "" } 994 { "", "" }
995}; 995};
996
997MODULE_DEVICE_TABLE(vio, viotape_device_table); 996MODULE_DEVICE_TABLE(vio, viotape_device_table);
997
998static struct vio_driver viotape_driver = { 998static struct vio_driver viotape_driver = {
999 .id_table = viotape_device_table, 999 .id_table = viotape_device_table,
1000 .probe = viotape_probe, 1000 .probe = viotape_probe,
1001 .remove = viotape_remove, 1001 .remove = viotape_remove,
1002 .driver = { 1002 .driver = {
1003 .name = "viotape", 1003 .name = "viotape",
1004 .owner = THIS_MODULE,
1004 } 1005 }
1005}; 1006};
1006 1007
diff --git a/drivers/net/ibmveth.c b/drivers/net/ibmveth.c
index fcf6f2c76300..f5dc632452f1 100644
--- a/drivers/net/ibmveth.c
+++ b/drivers/net/ibmveth.c
@@ -1146,7 +1146,6 @@ static struct vio_device_id ibmveth_device_table[] __devinitdata= {
1146 { "network", "IBM,l-lan"}, 1146 { "network", "IBM,l-lan"},
1147 { "", "" } 1147 { "", "" }
1148}; 1148};
1149
1150MODULE_DEVICE_TABLE(vio, ibmveth_device_table); 1149MODULE_DEVICE_TABLE(vio, ibmveth_device_table);
1151 1150
1152static struct vio_driver ibmveth_driver = { 1151static struct vio_driver ibmveth_driver = {
@@ -1155,6 +1154,7 @@ static struct vio_driver ibmveth_driver = {
1155 .remove = ibmveth_remove, 1154 .remove = ibmveth_remove,
1156 .driver = { 1155 .driver = {
1157 .name = ibmveth_driver_name, 1156 .name = ibmveth_driver_name,
1157 .owner = THIS_MODULE,
1158 } 1158 }
1159}; 1159};
1160 1160
diff --git a/drivers/net/iseries_veth.c b/drivers/net/iseries_veth.c
index 33613fe9556c..f5ea39ff1017 100644
--- a/drivers/net/iseries_veth.c
+++ b/drivers/net/iseries_veth.c
@@ -1653,6 +1653,7 @@ static struct vio_driver veth_driver = {
1653 .remove = veth_remove, 1653 .remove = veth_remove,
1654 .driver = { 1654 .driver = {
1655 .name = DRV_NAME, 1655 .name = DRV_NAME,
1656 .owner = THIS_MODULE,
1656 } 1657 }
1657}; 1658};
1658 1659
diff --git a/drivers/scsi/ibmvscsi/ibmvscsi.c b/drivers/scsi/ibmvscsi/ibmvscsi.c
index 965e5373538c..822b9fa706f3 100644
--- a/drivers/scsi/ibmvscsi/ibmvscsi.c
+++ b/drivers/scsi/ibmvscsi/ibmvscsi.c
@@ -1543,14 +1543,15 @@ static struct vio_device_id ibmvscsi_device_table[] __devinitdata = {
1543 {"vscsi", "IBM,v-scsi"}, 1543 {"vscsi", "IBM,v-scsi"},
1544 { "", "" } 1544 { "", "" }
1545}; 1545};
1546
1547MODULE_DEVICE_TABLE(vio, ibmvscsi_device_table); 1546MODULE_DEVICE_TABLE(vio, ibmvscsi_device_table);
1547
1548static struct vio_driver ibmvscsi_driver = { 1548static struct vio_driver ibmvscsi_driver = {
1549 .id_table = ibmvscsi_device_table, 1549 .id_table = ibmvscsi_device_table,
1550 .probe = ibmvscsi_probe, 1550 .probe = ibmvscsi_probe,
1551 .remove = ibmvscsi_remove, 1551 .remove = ibmvscsi_remove,
1552 .driver = { 1552 .driver = {
1553 .name = "ibmvscsi", 1553 .name = "ibmvscsi",
1554 .owner = THIS_MODULE,
1554 } 1555 }
1555}; 1556};
1556 1557