Commit 915124d8 authored by Stephen Rothwell's avatar Stephen Rothwell

powerpc: set the driver.owner field for all vio drivers

Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
parent 7c7eb284
...@@ -778,14 +778,15 @@ static struct vio_device_id viodasd_device_table[] __devinitdata = { ...@@ -778,14 +778,15 @@ static struct vio_device_id viodasd_device_table[] __devinitdata = {
{ "viodasd", "" }, { "viodasd", "" },
{ "", "" } { "", "" }
}; };
MODULE_DEVICE_TABLE(vio, viodasd_device_table); MODULE_DEVICE_TABLE(vio, viodasd_device_table);
static struct vio_driver viodasd_driver = { static struct vio_driver viodasd_driver = {
.id_table = viodasd_device_table, .id_table = viodasd_device_table,
.probe = viodasd_probe, .probe = viodasd_probe,
.remove = viodasd_remove, .remove = viodasd_remove,
.driver = { .driver = {
.name = "viodasd", .name = "viodasd",
.owner = THIS_MODULE,
} }
}; };
......
...@@ -736,14 +736,15 @@ static struct vio_device_id viocd_device_table[] __devinitdata = { ...@@ -736,14 +736,15 @@ static struct vio_device_id viocd_device_table[] __devinitdata = {
{ "viocd", "" }, { "viocd", "" },
{ "", "" } { "", "" }
}; };
MODULE_DEVICE_TABLE(vio, viocd_device_table); MODULE_DEVICE_TABLE(vio, viocd_device_table);
static struct vio_driver viocd_driver = { static struct vio_driver viocd_driver = {
.id_table = viocd_device_table, .id_table = viocd_device_table,
.probe = viocd_probe, .probe = viocd_probe,
.remove = viocd_remove, .remove = viocd_remove,
.driver = { .driver = {
.name = "viocd", .name = "viocd",
.owner = THIS_MODULE,
} }
}; };
......
...@@ -725,6 +725,7 @@ static struct vio_driver hvcs_vio_driver = { ...@@ -725,6 +725,7 @@ static struct vio_driver hvcs_vio_driver = {
.remove = hvcs_remove, .remove = hvcs_remove,
.driver = { .driver = {
.name = hvcs_driver_name, .name = hvcs_driver_name,
.owner = THIS_MODULE,
} }
}; };
......
...@@ -993,14 +993,15 @@ static struct vio_device_id viotape_device_table[] __devinitdata = { ...@@ -993,14 +993,15 @@ static struct vio_device_id viotape_device_table[] __devinitdata = {
{ "viotape", "" }, { "viotape", "" },
{ "", "" } { "", "" }
}; };
MODULE_DEVICE_TABLE(vio, viotape_device_table); MODULE_DEVICE_TABLE(vio, viotape_device_table);
static struct vio_driver viotape_driver = { static struct vio_driver viotape_driver = {
.id_table = viotape_device_table, .id_table = viotape_device_table,
.probe = viotape_probe, .probe = viotape_probe,
.remove = viotape_remove, .remove = viotape_remove,
.driver = { .driver = {
.name = "viotape", .name = "viotape",
.owner = THIS_MODULE,
} }
}; };
......
...@@ -1146,7 +1146,6 @@ static struct vio_device_id ibmveth_device_table[] __devinitdata= { ...@@ -1146,7 +1146,6 @@ static struct vio_device_id ibmveth_device_table[] __devinitdata= {
{ "network", "IBM,l-lan"}, { "network", "IBM,l-lan"},
{ "", "" } { "", "" }
}; };
MODULE_DEVICE_TABLE(vio, ibmveth_device_table); MODULE_DEVICE_TABLE(vio, ibmveth_device_table);
static struct vio_driver ibmveth_driver = { static struct vio_driver ibmveth_driver = {
...@@ -1155,6 +1154,7 @@ static struct vio_driver ibmveth_driver = { ...@@ -1155,6 +1154,7 @@ static struct vio_driver ibmveth_driver = {
.remove = ibmveth_remove, .remove = ibmveth_remove,
.driver = { .driver = {
.name = ibmveth_driver_name, .name = ibmveth_driver_name,
.owner = THIS_MODULE,
} }
}; };
......
...@@ -1653,6 +1653,7 @@ static struct vio_driver veth_driver = { ...@@ -1653,6 +1653,7 @@ static struct vio_driver veth_driver = {
.remove = veth_remove, .remove = veth_remove,
.driver = { .driver = {
.name = DRV_NAME, .name = DRV_NAME,
.owner = THIS_MODULE,
} }
}; };
......
...@@ -1543,14 +1543,15 @@ static struct vio_device_id ibmvscsi_device_table[] __devinitdata = { ...@@ -1543,14 +1543,15 @@ static struct vio_device_id ibmvscsi_device_table[] __devinitdata = {
{"vscsi", "IBM,v-scsi"}, {"vscsi", "IBM,v-scsi"},
{ "", "" } { "", "" }
}; };
MODULE_DEVICE_TABLE(vio, ibmvscsi_device_table); MODULE_DEVICE_TABLE(vio, ibmvscsi_device_table);
static struct vio_driver ibmvscsi_driver = { static struct vio_driver ibmvscsi_driver = {
.id_table = ibmvscsi_device_table, .id_table = ibmvscsi_device_table,
.probe = ibmvscsi_probe, .probe = ibmvscsi_probe,
.remove = ibmvscsi_remove, .remove = ibmvscsi_remove,
.driver = { .driver = {
.name = "ibmvscsi", .name = "ibmvscsi",
.owner = THIS_MODULE,
} }
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment