summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2005-10-24 15:12:22 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2005-10-24 16:59:13 +1000
commit915124d8114ec8c3825b10a39151bf9e851593bb (patch)
tree854dd90a4ec252c6282abb2570424c7d17656114 /drivers/net
parent7c7eb28481a038c3859a0efcf38ac5b642aca212 (diff)
downloadop-kernel-dev-915124d8114ec8c3825b10a39151bf9e851593bb.zip
op-kernel-dev-915124d8114ec8c3825b10a39151bf9e851593bb.tar.gz
powerpc: set the driver.owner field for all vio drivers
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
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 fcf6f2c..f5dc632 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 33613fe..f5ea39f 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