powerpc: set the driver.owner field for all vio drivers
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 24 Oct 2005 05:12:22 +0000 (15:12 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 24 Oct 2005 06:59:13 +0000 (16:59 +1000)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
drivers/block/viodasd.c
drivers/cdrom/viocd.c
drivers/char/hvcs.c
drivers/char/viotape.c
drivers/net/ibmveth.c
drivers/net/iseries_veth.c
drivers/scsi/ibmvscsi/ibmvscsi.c

index ea72faa83436df8ed65b433646d2b1d2e1485095..709f809f79f1f9cc4b3e09cb9ce3e8b71b913f32 100644 (file)
@@ -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,
        }
 };
 
index 255d24ad704b2e92fa79002b189b230c1027d918..36f31d202223b759cf8403d6d2a97388a58ef833 100644 (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,
        }
 };
 
index 8486298c011f7a7ec11519e87ea563b5b0d68bfd..53dc77c760fccff12a07665cb9bb0f6d6abdcba7 100644 (file)
@@ -725,6 +725,7 @@ static struct vio_driver hvcs_vio_driver = {
        .remove         = hvcs_remove,
        .driver         = {
                .name   = hvcs_driver_name,
+               .owner  = THIS_MODULE,
        }
 };
 
index 8fc1115c4b69249246ec978c953e3285233fd7ba..d92a0564500793c110a5df68441480d9a51ae467 100644 (file)
@@ -993,14 +993,15 @@ static struct vio_device_id viotape_device_table[] __devinitdata = {
        { "viotape", "" },
        { "", "" }
 };
-
 MODULE_DEVICE_TABLE(vio, viotape_device_table);
+
 static struct vio_driver viotape_driver = {
        .id_table = viotape_device_table,
        .probe = viotape_probe,
        .remove = viotape_remove,
        .driver = {
                .name = "viotape",
+               .owner = THIS_MODULE,
        }
 };
 
index fcf6f2c7630019a5cf52d8e023dea21c604a831b..f5dc632452f1f9da7ae87a6f97f16a603296fe71 100644 (file)
@@ -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,
        }
 };
 
index 33613fe9556cc65fb91237faea0ee38dcef69a1e..f5ea39ff1017cffc9a21e5059d9c4aa8238fa88d 100644 (file)
@@ -1653,6 +1653,7 @@ static struct vio_driver veth_driver = {
        .remove = veth_remove,
        .driver = {
                .name = DRV_NAME,
+               .owner = THIS_MODULE,
        }
 };
 
index 965e5373538cd2193a0f5f38bf729a02eab2e3ce..822b9fa706f385f789d6cbbe125b971d586e4ec1 100644 (file)
@@ -1543,14 +1543,15 @@ static struct vio_device_id ibmvscsi_device_table[] __devinitdata = {
        {"vscsi", "IBM,v-scsi"},
        { "", "" }
 };
-
 MODULE_DEVICE_TABLE(vio, ibmvscsi_device_table);
+
 static struct vio_driver ibmvscsi_driver = {
        .id_table = ibmvscsi_device_table,
        .probe = ibmvscsi_probe,
        .remove = ibmvscsi_remove,
        .driver = {
                .name = "ibmvscsi",
+               .owner = THIS_MODULE,
        }
 };