summaryrefslogtreecommitdiffstats
path: root/drivers/block/viodasd.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2005-10-24 07:12:22 +0200
committerStephen Rothwell <sfr@canb.auug.org.au>2005-10-24 08:59:13 +0200
commit915124d8114ec8c3825b10a39151bf9e851593bb (patch)
tree854dd90a4ec252c6282abb2570424c7d17656114 /drivers/block/viodasd.c
parentpowerpc: iseries: Fix a bogus comment (diff)
downloadlinux-915124d8114ec8c3825b10a39151bf9e851593bb.tar.xz
linux-915124d8114ec8c3825b10a39151bf9e851593bb.zip
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/viodasd.c')
-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 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 = {
{ "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,
}
};