projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f3a628
)
Add __devexit_p around reference to virtio_pci_remove
author
Jamie Lokier
<jamie@shareable.org>
Fri, 8 Jan 2010 22:01:43 +0000
(22:01 +0000)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Wed, 24 Feb 2010 03:52:04 +0000
(14:22 +1030)
This is needed to compile with CONFIG_VIRTIO_PCI=y,
because virtio_pci_remove is marked __devexit.
Signed-off-by: Jamie Lokier <jamie@shareable.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/virtio/virtio_pci.c
patch
|
blob
|
history
diff --git
a/drivers/virtio/virtio_pci.c
b/drivers/virtio/virtio_pci.c
index
28d9cf7
..
1d5191f
100644
(file)
--- a/
drivers/virtio/virtio_pci.c
+++ b/
drivers/virtio/virtio_pci.c
@@
-702,7
+702,7
@@
static struct pci_driver virtio_pci_driver = {
.name = "virtio-pci",
.id_table = virtio_pci_id_table,
.probe = virtio_pci_probe,
- .remove =
virtio_pci_remove
,
+ .remove =
__devexit_p(virtio_pci_remove)
,
#ifdef CONFIG_PM
.suspend = virtio_pci_suspend,
.resume = virtio_pci_resume,