summaryrefslogtreecommitdiffstats
path: root/drivers/block
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/block
parent7c7eb28481a038c3859a0efcf38ac5b642aca212 (diff)
powerpc: set the driver.owner field for all vio drivers
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/viodasd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/block/viodasd.c b/drivers/block/viodasd.c
index ea72faa8343..709f809f79f 100644
--- a/drivers/block/viodasd.c
+++ b/drivers/block/viodasd.c
@@ -778,14 +778,15 @@ static struct vio_device_id viodasd_device_table[] __devinitdata = {
{ "viodasd", "" },
{ "", "" }
};
-
MODULE_DEVICE_TABLE(vio, viodasd_device_table);
+
static struct vio_driver viodasd_driver = {
.id_table = viodasd_device_table,
.probe = viodasd_probe,
.remove = viodasd_remove,
.driver = {
.name = "viodasd",
+ .owner = THIS_MODULE,
}
};