Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=cd6f5b8051efe03b90a1dd6d63a642f78ec4e60d
Commit:     cd6f5b8051efe03b90a1dd6d63a642f78ec4e60d
Parent:     c2edacf80e155ef54ae4774379d461b60896bc2e
Author:     Adrian Bunk <[EMAIL PROTECTED]>
AuthorDate: Tue Jul 10 14:44:49 2007 +0200
Committer:  Jeff Garzik <[EMAIL PROTECTED]>
CommitDate: Tue Jul 10 12:45:29 2007 -0400

    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 <[EMAIL PROTECTED]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
---
 drivers/net/sunhme.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/sunhme.c b/drivers/net/sunhme.c
index 51c3fe2..15146a1 100644
--- a/drivers/net/sunhme.c
+++ b/drivers/net/sunhme.c
@@ -2625,7 +2625,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;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to