diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-03 09:24:02 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-03 14:16:55 -0500 |
commit | f73d12bd298f9614d8600326e9bd1f7871fcde4b (patch) | |
tree | 736c67ac825f2576b6d3a703defd1859e13787eb /drivers/net/ethernet/sun/sunvnet.c | |
parent | f48a3c2af87960e3d497b518a3253337a18016db (diff) |
net/sun: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev*
markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst,
and __devexit.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ethernet/sun/sunvnet.c')
-rw-r--r-- | drivers/net/ethernet/sun/sunvnet.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/net/ethernet/sun/sunvnet.c b/drivers/net/ethernet/sun/sunvnet.c index a108db35924e..2852b7099eee 100644 --- a/drivers/net/ethernet/sun/sunvnet.c +++ b/drivers/net/ethernet/sun/sunvnet.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #define DRV_MODULE_VERSION "1.0" | 25 | #define DRV_MODULE_VERSION "1.0" |
26 | #define DRV_MODULE_RELDATE "June 25, 2007" | 26 | #define DRV_MODULE_RELDATE "June 25, 2007" |
27 | 27 | ||
28 | static char version[] __devinitdata = | 28 | static char version[] = |
29 | DRV_MODULE_NAME ".c:v" DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n"; | 29 | DRV_MODULE_NAME ".c:v" DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n"; |
30 | MODULE_AUTHOR("David S. Miller (davem@davemloft.net)"); | 30 | MODULE_AUTHOR("David S. Miller (davem@davemloft.net)"); |
31 | MODULE_DESCRIPTION("Sun LDOM virtual network driver"); | 31 | MODULE_DESCRIPTION("Sun LDOM virtual network driver"); |
@@ -937,7 +937,7 @@ static void vnet_port_free_tx_bufs(struct vnet_port *port) | |||
937 | } | 937 | } |
938 | } | 938 | } |
939 | 939 | ||
940 | static int __devinit vnet_port_alloc_tx_bufs(struct vnet_port *port) | 940 | static int vnet_port_alloc_tx_bufs(struct vnet_port *port) |
941 | { | 941 | { |
942 | struct vio_dring_state *dr; | 942 | struct vio_dring_state *dr; |
943 | unsigned long len; | 943 | unsigned long len; |
@@ -1019,7 +1019,7 @@ static const struct net_device_ops vnet_ops = { | |||
1019 | .ndo_start_xmit = vnet_start_xmit, | 1019 | .ndo_start_xmit = vnet_start_xmit, |
1020 | }; | 1020 | }; |
1021 | 1021 | ||
1022 | static struct vnet * __devinit vnet_new(const u64 *local_mac) | 1022 | static struct vnet *vnet_new(const u64 *local_mac) |
1023 | { | 1023 | { |
1024 | struct net_device *dev; | 1024 | struct net_device *dev; |
1025 | struct vnet *vp; | 1025 | struct vnet *vp; |
@@ -1067,7 +1067,7 @@ err_out_free_dev: | |||
1067 | return ERR_PTR(err); | 1067 | return ERR_PTR(err); |
1068 | } | 1068 | } |
1069 | 1069 | ||
1070 | static struct vnet * __devinit vnet_find_or_create(const u64 *local_mac) | 1070 | static struct vnet *vnet_find_or_create(const u64 *local_mac) |
1071 | { | 1071 | { |
1072 | struct vnet *iter, *vp; | 1072 | struct vnet *iter, *vp; |
1073 | 1073 | ||
@@ -1088,7 +1088,7 @@ static struct vnet * __devinit vnet_find_or_create(const u64 *local_mac) | |||
1088 | 1088 | ||
1089 | static const char *local_mac_prop = "local-mac-address"; | 1089 | static const char *local_mac_prop = "local-mac-address"; |
1090 | 1090 | ||
1091 | static struct vnet * __devinit vnet_find_parent(struct mdesc_handle *hp, | 1091 | static struct vnet *vnet_find_parent(struct mdesc_handle *hp, |
1092 | u64 port_node) | 1092 | u64 port_node) |
1093 | { | 1093 | { |
1094 | const u64 *local_mac = NULL; | 1094 | const u64 *local_mac = NULL; |
@@ -1125,14 +1125,14 @@ static struct vio_driver_ops vnet_vio_ops = { | |||
1125 | .handshake_complete = vnet_handshake_complete, | 1125 | .handshake_complete = vnet_handshake_complete, |
1126 | }; | 1126 | }; |
1127 | 1127 | ||
1128 | static void __devinit print_version(void) | 1128 | static void print_version(void) |
1129 | { | 1129 | { |
1130 | printk_once(KERN_INFO "%s", version); | 1130 | printk_once(KERN_INFO "%s", version); |
1131 | } | 1131 | } |
1132 | 1132 | ||
1133 | const char *remote_macaddr_prop = "remote-mac-address"; | 1133 | const char *remote_macaddr_prop = "remote-mac-address"; |
1134 | 1134 | ||
1135 | static int __devinit vnet_port_probe(struct vio_dev *vdev, | 1135 | static int vnet_port_probe(struct vio_dev *vdev, |
1136 | const struct vio_device_id *id) | 1136 | const struct vio_device_id *id) |
1137 | { | 1137 | { |
1138 | struct mdesc_handle *hp; | 1138 | struct mdesc_handle *hp; |