The following commit has been merged in the linux branch: commit 1e65175c2c73742495f0e5ca52658539a65825db Author: Uwe Kleine-König u.kleine-koenig@pengutronix.de Date: Thu Oct 1 10:28:33 2009 +0200
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
diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c index 3978923..9dd5880 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;