aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sunhme.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-07-10 08:44:49 -0400
committerJeff Garzik <jeff@garzik.org>2007-07-10 12:45:29 -0400
commitcd6f5b8051efe03b90a1dd6d63a642f78ec4e60d (patch)
tree7410a10751db892aedca600c30d91c49d283d64c /drivers/net/sunhme.c
parentc2edacf80e155ef54ae4774379d461b60896bc2e (diff)
sunhme.c:quattro_pci_find() must be __devinit
This patch fixes the following section mismatch: <-- snip --> ... MODPOST vmlinux WARNING: drivers/built-in.o(.text+0x272f8b): Section mismatch: reference to .init.text:quattro_pci_find (between 'happy_meal_pci_probe' and 'happy_meal_pci_remove') ... <-- snip --> Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/sunhme.c')
-rw-r--r--drivers/net/sunhme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sunhme.c b/drivers/net/sunhme.c
index 51c3fe2108a..15146a11923 100644
--- a/drivers/net/sunhme.c
+++ b/drivers/net/sunhme.c
@@ -2625,7 +2625,7 @@ static void quattro_sbus_free_irqs(void)
2625#endif /* CONFIG_SBUS */ 2625#endif /* CONFIG_SBUS */
2626 2626
2627#ifdef CONFIG_PCI 2627#ifdef CONFIG_PCI
2628static struct quattro * __init quattro_pci_find(struct pci_dev *pdev) 2628static struct quattro * __devinit quattro_pci_find(struct pci_dev *pdev)
2629{ 2629{
2630 struct pci_dev *bdev = pdev->bus->self; 2630 struct pci_dev *bdev = pdev->bus->self;
2631 struct quattro *qp; 2631 struct quattro *qp;