move virtballoon_remove to .devexit.text
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 1 Oct 2009 08:28:33 +0000 (10:28 +0200)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 22 Oct 2009 06:09:31 +0000 (16:39 +1030)
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>
drivers/virtio/virtio_balloon.c

index 39789232646d8a2314142ccc9d98002da2d35cd8..9dd5880428803d78a3ad349d43aae049dd4f4344 100644 (file)
@@ -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;