Commit cd6f5b80 authored by Adrian Bunk's avatar Adrian Bunk Committed by Jeff Garzik

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: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent c2edacf8
...@@ -2625,7 +2625,7 @@ static void quattro_sbus_free_irqs(void) ...@@ -2625,7 +2625,7 @@ static void quattro_sbus_free_irqs(void)
#endif /* CONFIG_SBUS */ #endif /* CONFIG_SBUS */
#ifdef CONFIG_PCI #ifdef CONFIG_PCI
static struct quattro * __init quattro_pci_find(struct pci_dev *pdev) static struct quattro * __devinit quattro_pci_find(struct pci_dev *pdev)
{ {
struct pci_dev *bdev = pdev->bus->self; struct pci_dev *bdev = pdev->bus->self;
struct quattro *qp; struct quattro *qp;
......
Markdown is supported
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