Skip to content
Commit 22402529 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by David S. Miller
Browse files

virtio_net: rename driver struct to please modpost

Commit

	3d1285be

 (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: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reported-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Blame-taken-by: default avatarRusty Russell <rusty@rustcorp.com.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent dffc1436
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment