virtio_net: rename driver struct to please modpost
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 5 Nov 2009 09:32:44 +0000 (01:32 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Nov 2009 09:32:44 +0000 (01:32 -0800)
commit22402529df88ec39a59b08a46bced73dd5722b64
treebb5a7e4246369a4362e68aa8895a39e74b1243c6
parentdffc14365bb07812567ee7f3f8699277ef19aaa8
virtio_net: rename driver struct to please modpost

Commit

3d1285b (move virtnet_remove to .devexit.text)

introduced the first reference to __devexit in struct virtio_driver
virtio_net which upset modpost ("Section mismatch in reference from the
variable virtio_net to the function .devexit.text:virtnet_remove()").

Fix this by renaming virtio_net to virtio_net_driver.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reported-by: Michael S. Tsirkin <mst@redhat.com>
Blame-taken-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/virtio_net.c