summaryrefslogtreecommitdiffstats
path: root/drivers/virtio/virtio_balloon.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2009-10-01 10:28:33 +0200
committerRusty Russell <rusty@rustcorp.com.au>2009-10-22 08:09:31 +0200
commit1e65175c2c73742495f0e5ca52658539a65825db (patch)
tree4e6538fa79a04ff5f6666cde1e8b84f7857192a8 /drivers/virtio/virtio_balloon.c
parentvirtio_blk: Revert serial number support (diff)
downloadlinux-1e65175c2c73742495f0e5ca52658539a65825db.tar.xz
linux-1e65175c2c73742495f0e5ca52658539a65825db.zip
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: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Acked-by: Sam Ravnborg <sam@ravnborg.org> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/virtio/virtio_balloon.c')
-rw-r--r--drivers/virtio/virtio_balloon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c
index 39789232646d..9dd588042880 100644
--- a/drivers/virtio/virtio_balloon.c
+++ b/drivers/virtio/virtio_balloon.c
@@ -247,7 +247,7 @@ out:
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;