Commit:     468e468139ffbc4f0ce44862eec6dd0f5ac80945
Parent:     da6f4c7f6fe02f92aff72071ed541f59e5880398
Author:     Adrian Bunk <[EMAIL PROTECTED]>
AuthorDate: Fri Feb 1 23:09:16 2008 +0100
Committer:  Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]>
CommitDate: Fri Feb 1 23:09:16 2008 +0100

    ide/ppc/pmac.c section fixes
    This patch fixes the following section mismatch:
    <--  snip  -->
    WARNING: vmlinux.o(.text+0x3b641c): Section mismatch in reference from the 
function .pmac_ide_setup_device() to the function 
    <--  snip  -->
    Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
    Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]>
 drivers/ide/ppc/pmac.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/ide/ppc/pmac.c b/drivers/ide/ppc/pmac.c
index 736d12c..4afc58f 100644
--- a/drivers/ide/ppc/pmac.c
+++ b/drivers/ide/ppc/pmac.c
@@ -1011,7 +1011,7 @@ pmac_ide_do_resume(ide_hwif_t *hwif)
  * (it is kept in 2.4). This introduce an interface numbering change on some
  * rare machines unfortunately, but it's better this way.
-static int
+static int __devinit
 pmac_ide_setup_device(pmac_ide_hwif_t *pmif, ide_hwif_t *hwif, hw_regs_t *hw)
        struct device_node *np = pmif->node;
@@ -1726,7 +1726,7 @@ pmac_ide_dma_lost_irq (ide_drive_t *drive)
  * Allocate the data structures needed for using DMA with an interface
  * and fill the proper list of functions pointers
-static void __init 
+static void __devinit
 pmac_ide_setup_dma(pmac_ide_hwif_t *pmif, ide_hwif_t *hwif)
        /* We won't need pci_dev if we switch to generic consistent
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

Reply via email to