summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ibmveth.c2
-rw-r--r--drivers/net/iseries_veth.c1
2 files changed, 2 insertions, 1 deletions
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= {
{ "network", "IBM,l-lan"},
{ "", "" }
};
-
MODULE_DEVICE_TABLE(vio, ibmveth_device_table);
static struct vio_driver ibmveth_driver = {
@@ -1155,6 +1154,7 @@ static struct vio_driver ibmveth_driver = {
.remove = ibmveth_remove,
.driver = {
.name = ibmveth_driver_name,
+ .owner = THIS_MODULE,
}
};
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 = {
.remove = veth_remove,
.driver = {
.name = DRV_NAME,
+ .owner = THIS_MODULE,
}
};
OpenPOWER on IntegriCloud