diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-03 09:24:15 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-03 14:16:59 -0500 |
commit | 8cc085d604f7f2f1be68d0b50db1dfd5640266b7 (patch) | |
tree | 8da91d6867f30496b336c6762519479eed44c1b6 /drivers/net/virtio_net.c | |
parent | 633d1594974b33a673a9eaf141d557e176202d8f (diff) |
virtio_net: 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>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: virtualization@lists.linux-foundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/virtio_net.c')
-rw-r--r-- | drivers/net/virtio_net.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index 26c502e4b871..90ac97df2d02 100644 --- a/drivers/net/virtio_net.c +++ b/drivers/net/virtio_net.c | |||
@@ -1203,7 +1203,7 @@ static void remove_vq_common(struct virtnet_info *vi) | |||
1203 | __free_pages(get_a_page(vi, GFP_KERNEL), 0); | 1203 | __free_pages(get_a_page(vi, GFP_KERNEL), 0); |
1204 | } | 1204 | } |
1205 | 1205 | ||
1206 | static void __devexit virtnet_remove(struct virtio_device *vdev) | 1206 | static void virtnet_remove(struct virtio_device *vdev) |
1207 | { | 1207 | { |
1208 | struct virtnet_info *vi = vdev->priv; | 1208 | struct virtnet_info *vi = vdev->priv; |
1209 | 1209 | ||
@@ -1293,7 +1293,7 @@ static struct virtio_driver virtio_net_driver = { | |||
1293 | .driver.owner = THIS_MODULE, | 1293 | .driver.owner = THIS_MODULE, |
1294 | .id_table = id_table, | 1294 | .id_table = id_table, |
1295 | .probe = virtnet_probe, | 1295 | .probe = virtnet_probe, |
1296 | .remove = __devexit_p(virtnet_remove), | 1296 | .remove = virtnet_remove, |
1297 | .config_changed = virtnet_config_changed, | 1297 | .config_changed = virtnet_config_changed, |
1298 | #ifdef CONFIG_PM | 1298 | #ifdef CONFIG_PM |
1299 | .freeze = virtnet_freeze, | 1299 | .freeze = virtnet_freeze, |