Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=bc5468f52b785ffa1fe0ea289baec2c51384d436
Commit:     bc5468f52b785ffa1fe0ea289baec2c51384d436
Parent:     4f743d1d2224ee646b6b6d1d90f3d9d625dd9ab7
Author:     Adrian Bunk <[EMAIL PROTECTED]>
AuthorDate: Wed Jan 30 22:02:02 2008 +0200
Committer:  Jeff Garzik <[EMAIL PROTECTED]>
CommitDate: Wed Feb 6 07:01:56 2008 -0500

    ata_piix.c:piix_init_one() must be __devinit
    
    This patch fixes the following section mismatches:
    
    <--  snip  -->
    
    ...
    WARNING: drivers/ata/built-in.o(.text+0x15072): Section mismatch in 
reference from the function piix_init_one() to the function 
.devinit.text:piix_init_sata_map()
    WARNING: drivers/ata/built-in.o(.text+0x150dd): Section mismatch in 
reference from the function piix_init_one() to the function 
.devinit.text:piix_init_pcs()
    WARNING: drivers/ata/built-in.o(.text+0x150e5): Section mismatch in 
reference from the function piix_init_one() to the function 
.devinit.text:piix_init_sidpr()
    WARNING: drivers/ata/built-in.o(.text+0x15107): Section mismatch in 
reference from the function piix_init_one() to the function 
.devinit.text:piix_check_450nx_errata()
    ...
    
    <--  snip  -->
    
    Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
---
 drivers/ata/ata_piix.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/ata/ata_piix.c b/drivers/ata/ata_piix.c
index 4b99ed0..9c2515f 100644
--- a/drivers/ata/ata_piix.c
+++ b/drivers/ata/ata_piix.c
@@ -1603,7 +1603,8 @@ static void piix_iocfg_bit18_quirk(struct pci_dev *pdev)
  *     Zero on success, or -ERRNO value.
  */
 
-static int piix_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
+static int __devinit piix_init_one(struct pci_dev *pdev,
+                                  const struct pci_device_id *ent)
 {
        static int printed_version;
        struct device *dev = &pdev->dev;
-
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