diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/block/sunvdc.c | 5 | ||||
-rw-r--r-- | drivers/net/ethernet/ibm/ibmveth.c | 7 | ||||
-rw-r--r-- | drivers/net/ethernet/sun/sunvnet.c | 5 | ||||
-rw-r--r-- | drivers/scsi/ibmvscsi/ibmvfc.c | 7 | ||||
-rw-r--r-- | drivers/scsi/ibmvscsi/ibmvscsi.c | 7 | ||||
-rw-r--r-- | drivers/scsi/ibmvscsi/ibmvstgt.c | 5 | ||||
-rw-r--r-- | drivers/tty/hvc/hvc_vio.c | 7 | ||||
-rw-r--r-- | drivers/tty/hvc/hvcs.c | 5 |
8 files changed, 12 insertions, 36 deletions
diff --git a/drivers/block/sunvdc.c b/drivers/block/sunvdc.c index 48e8fee9f2d4..9dcf76a10bb6 100644 --- a/drivers/block/sunvdc.c +++ b/drivers/block/sunvdc.c | |||
@@ -839,10 +839,7 @@ static struct vio_driver vdc_port_driver = { | |||
839 | .id_table = vdc_port_match, | 839 | .id_table = vdc_port_match, |
840 | .probe = vdc_port_probe, | 840 | .probe = vdc_port_probe, |
841 | .remove = vdc_port_remove, | 841 | .remove = vdc_port_remove, |
842 | .driver = { | 842 | .name = "vdc_port", |
843 | .name = "vdc_port", | ||
844 | .owner = THIS_MODULE, | ||
845 | } | ||
846 | }; | 843 | }; |
847 | 844 | ||
848 | static int __init vdc_init(void) | 845 | static int __init vdc_init(void) |
diff --git a/drivers/net/ethernet/ibm/ibmveth.c b/drivers/net/ethernet/ibm/ibmveth.c index e877371680a9..9010cea68bc3 100644 --- a/drivers/net/ethernet/ibm/ibmveth.c +++ b/drivers/net/ethernet/ibm/ibmveth.c | |||
@@ -1616,11 +1616,8 @@ static struct vio_driver ibmveth_driver = { | |||
1616 | .probe = ibmveth_probe, | 1616 | .probe = ibmveth_probe, |
1617 | .remove = ibmveth_remove, | 1617 | .remove = ibmveth_remove, |
1618 | .get_desired_dma = ibmveth_get_desired_dma, | 1618 | .get_desired_dma = ibmveth_get_desired_dma, |
1619 | .driver = { | 1619 | .name = ibmveth_driver_name, |
1620 | .name = ibmveth_driver_name, | 1620 | .pm = &ibmveth_pm_ops, |
1621 | .owner = THIS_MODULE, | ||
1622 | .pm = &ibmveth_pm_ops, | ||
1623 | } | ||
1624 | }; | 1621 | }; |
1625 | 1622 | ||
1626 | static int __init ibmveth_module_init(void) | 1623 | static int __init ibmveth_module_init(void) |
diff --git a/drivers/net/ethernet/sun/sunvnet.c b/drivers/net/ethernet/sun/sunvnet.c index 92a037a8228a..38e3ae9155b7 100644 --- a/drivers/net/ethernet/sun/sunvnet.c +++ b/drivers/net/ethernet/sun/sunvnet.c | |||
@@ -1259,10 +1259,7 @@ static struct vio_driver vnet_port_driver = { | |||
1259 | .id_table = vnet_port_match, | 1259 | .id_table = vnet_port_match, |
1260 | .probe = vnet_port_probe, | 1260 | .probe = vnet_port_probe, |
1261 | .remove = vnet_port_remove, | 1261 | .remove = vnet_port_remove, |
1262 | .driver = { | 1262 | .name = "vnet_port", |
1263 | .name = "vnet_port", | ||
1264 | .owner = THIS_MODULE, | ||
1265 | } | ||
1266 | }; | 1263 | }; |
1267 | 1264 | ||
1268 | static int __init vnet_init(void) | 1265 | static int __init vnet_init(void) |
diff --git a/drivers/scsi/ibmvscsi/ibmvfc.c b/drivers/scsi/ibmvscsi/ibmvfc.c index bdfa223a7dbb..134a0ae85bb7 100644 --- a/drivers/scsi/ibmvscsi/ibmvfc.c +++ b/drivers/scsi/ibmvscsi/ibmvfc.c | |||
@@ -4890,11 +4890,8 @@ static struct vio_driver ibmvfc_driver = { | |||
4890 | .probe = ibmvfc_probe, | 4890 | .probe = ibmvfc_probe, |
4891 | .remove = ibmvfc_remove, | 4891 | .remove = ibmvfc_remove, |
4892 | .get_desired_dma = ibmvfc_get_desired_dma, | 4892 | .get_desired_dma = ibmvfc_get_desired_dma, |
4893 | .driver = { | 4893 | .name = IBMVFC_NAME, |
4894 | .name = IBMVFC_NAME, | 4894 | .pm = &ibmvfc_pm_ops, |
4895 | .owner = THIS_MODULE, | ||
4896 | .pm = &ibmvfc_pm_ops, | ||
4897 | } | ||
4898 | }; | 4895 | }; |
4899 | 4896 | ||
4900 | static struct fc_function_template ibmvfc_transport_functions = { | 4897 | static struct fc_function_template ibmvfc_transport_functions = { |
diff --git a/drivers/scsi/ibmvscsi/ibmvscsi.c b/drivers/scsi/ibmvscsi/ibmvscsi.c index e984951baeb6..3a6c4742951e 100644 --- a/drivers/scsi/ibmvscsi/ibmvscsi.c +++ b/drivers/scsi/ibmvscsi/ibmvscsi.c | |||
@@ -2061,11 +2061,8 @@ static struct vio_driver ibmvscsi_driver = { | |||
2061 | .probe = ibmvscsi_probe, | 2061 | .probe = ibmvscsi_probe, |
2062 | .remove = ibmvscsi_remove, | 2062 | .remove = ibmvscsi_remove, |
2063 | .get_desired_dma = ibmvscsi_get_desired_dma, | 2063 | .get_desired_dma = ibmvscsi_get_desired_dma, |
2064 | .driver = { | 2064 | .name = "ibmvscsi", |
2065 | .name = "ibmvscsi", | 2065 | .pm = &ibmvscsi_pm_ops, |
2066 | .owner = THIS_MODULE, | ||
2067 | .pm = &ibmvscsi_pm_ops, | ||
2068 | } | ||
2069 | }; | 2066 | }; |
2070 | 2067 | ||
2071 | static struct srp_function_template ibmvscsi_transport_functions = { | 2068 | static struct srp_function_template ibmvscsi_transport_functions = { |
diff --git a/drivers/scsi/ibmvscsi/ibmvstgt.c b/drivers/scsi/ibmvscsi/ibmvstgt.c index 2256babe0474..aa7ed81e9237 100644 --- a/drivers/scsi/ibmvscsi/ibmvstgt.c +++ b/drivers/scsi/ibmvscsi/ibmvstgt.c | |||
@@ -918,10 +918,7 @@ static struct vio_driver ibmvstgt_driver = { | |||
918 | .id_table = ibmvstgt_device_table, | 918 | .id_table = ibmvstgt_device_table, |
919 | .probe = ibmvstgt_probe, | 919 | .probe = ibmvstgt_probe, |
920 | .remove = ibmvstgt_remove, | 920 | .remove = ibmvstgt_remove, |
921 | .driver = { | 921 | .name = "ibmvscsis", |
922 | .name = "ibmvscsis", | ||
923 | .owner = THIS_MODULE, | ||
924 | } | ||
925 | }; | 922 | }; |
926 | 923 | ||
927 | static int get_system_info(void) | 924 | static int get_system_info(void) |
diff --git a/drivers/tty/hvc/hvc_vio.c b/drivers/tty/hvc/hvc_vio.c index 3a0d53d6368f..ee307799271a 100644 --- a/drivers/tty/hvc/hvc_vio.c +++ b/drivers/tty/hvc/hvc_vio.c | |||
@@ -310,11 +310,8 @@ static int __devexit hvc_vio_remove(struct vio_dev *vdev) | |||
310 | static struct vio_driver hvc_vio_driver = { | 310 | static struct vio_driver hvc_vio_driver = { |
311 | .id_table = hvc_driver_table, | 311 | .id_table = hvc_driver_table, |
312 | .probe = hvc_vio_probe, | 312 | .probe = hvc_vio_probe, |
313 | .remove = __devexit_p(hvc_vio_remove), | 313 | .remove = hvc_vio_remove, |
314 | .driver = { | 314 | .name = hvc_driver_name, |
315 | .name = hvc_driver_name, | ||
316 | .owner = THIS_MODULE, | ||
317 | } | ||
318 | }; | 315 | }; |
319 | 316 | ||
320 | static int __init hvc_vio_init(void) | 317 | static int __init hvc_vio_init(void) |
diff --git a/drivers/tty/hvc/hvcs.c b/drivers/tty/hvc/hvcs.c index d23759183b47..3436436fe2d7 100644 --- a/drivers/tty/hvc/hvcs.c +++ b/drivers/tty/hvc/hvcs.c | |||
@@ -879,10 +879,7 @@ static struct vio_driver hvcs_vio_driver = { | |||
879 | .id_table = hvcs_driver_table, | 879 | .id_table = hvcs_driver_table, |
880 | .probe = hvcs_probe, | 880 | .probe = hvcs_probe, |
881 | .remove = __devexit_p(hvcs_remove), | 881 | .remove = __devexit_p(hvcs_remove), |
882 | .driver = { | 882 | .name = hvcs_driver_name, |
883 | .name = hvcs_driver_name, | ||
884 | .owner = THIS_MODULE, | ||
885 | } | ||
886 | }; | 883 | }; |
887 | 884 | ||
888 | /* Only called from hvcs_get_pi please */ | 885 | /* Only called from hvcs_get_pi please */ |