From: Uwe Kleine-König Date: Thu, 1 Oct 2009 08:28:33 +0000 (+0200) Subject: move virtballoon_remove to .devexit.text X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1e65175c2c73742495f0e5ca52658539a65825db;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 Acked-by: Sam Ravnborg Acked-by: Michael S. Tsirkin Signed-off-by: Rusty Russell --- 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;