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

Signed-off-by: Stephen Rothwell <[email protected]>
This commit is contained in:
Stephen Rothwell 2005-10-24 15:12:22 +10:00
commit 915124d811
7 changed files with 11 additions and 5 deletions

View file

@ -736,14 +736,15 @@ static struct vio_device_id viocd_device_table[] __devinitdata = {
{ "viocd", "" },
{ "", "" }
};
MODULE_DEVICE_TABLE(vio, viocd_device_table);
static struct vio_driver viocd_driver = {
.id_table = viocd_device_table,
.probe = viocd_probe,
.remove = viocd_remove,
.driver = {
.name = "viocd",
.owner = THIS_MODULE,
}
};