Commit 1e65175c authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Rusty Russell

move virtballoon_remove to .devexit.text

The function virtballoon_remove is used only wrapped by __devexit_p so
define it using __devexit.
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
Acked-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 3225beab
...@@ -247,7 +247,7 @@ static int virtballoon_probe(struct virtio_device *vdev) ...@@ -247,7 +247,7 @@ static int virtballoon_probe(struct virtio_device *vdev)
return err; return err;
} }
static void virtballoon_remove(struct virtio_device *vdev) static void __devexit virtballoon_remove(struct virtio_device *vdev)
{ {
struct virtio_balloon *vb = vdev->priv; struct virtio_balloon *vb = vdev->priv;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment