]> xenbits.xensource.com Git - xenclient/kernel.git/commitdiff
commit cd6f5b8051efe03b90a1dd6d63a642f78ec4e60d git-4e50a8e3c564add2f621dadb752a44872e93c754
authort_jeang <devnull@localhost>
Tue, 6 Jan 2009 12:05:21 +0000 (12:05 +0000)
committert_jeang <devnull@localhost>
Tue, 6 Jan 2009 12:05:21 +0000 (12:05 +0000)
Author: Adrian Bunk <bunk@stusta.de>
Date:   Tue Jul 10 14:44:49 2007 +0200

    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>
drivers/net/sunhme.c

index 3bbf0c80b079b6345d14b49e4ca8e39306fc0b0e..c124d8f510fc88fba848a105edf15c12ae59b527 100644 (file)
@@ -2630,7 +2630,7 @@ static void quattro_sbus_free_irqs(void)
 #endif /* CONFIG_SBUS */
 
 #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 quattro *qp;