Commit 1e65175c2c73742495f0e5ca52658539a65825db

Authored by Uwe Kleine-König
Committed by Rusty Russell
1 parent 3225beaba0

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/virtio/virtio_balloon.c
... ... @@ -247,7 +247,7 @@
247 247 return err;
248 248 }
249 249  
250   -static void virtballoon_remove(struct virtio_device *vdev)
  250 +static void __devexit virtballoon_remove(struct virtio_device *vdev)
251 251 {
252 252 struct virtio_balloon *vb = vdev->priv;
253 253