aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ppc/pmac.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-02-01 17:09:16 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-01 17:09:16 -0500
commit468e468139ffbc4f0ce44862eec6dd0f5ac80945 (patch)
tree40409bbaf24bed288368bd32c9f1b3ea206a7ed1 /drivers/ide/ppc/pmac.c
parentda6f4c7f6fe02f92aff72071ed541f59e5880398 (diff)
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 .init.text:.pmac_ide_setup_dma() ... <-- snip --> Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ppc/pmac.c')
-rw-r--r--drivers/ide/ppc/pmac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/ppc/pmac.c b/drivers/ide/ppc/pmac.c
index 736d12c8e68a..4afc58fb3674 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)
1011 * (it is kept in 2.4). This introduce an interface numbering change on some 1011 * (it is kept in 2.4). This introduce an interface numbering change on some
1012 * rare machines unfortunately, but it's better this way. 1012 * rare machines unfortunately, but it's better this way.
1013 */ 1013 */
1014static int 1014static int __devinit
1015pmac_ide_setup_device(pmac_ide_hwif_t *pmif, ide_hwif_t *hwif, hw_regs_t *hw) 1015pmac_ide_setup_device(pmac_ide_hwif_t *pmif, ide_hwif_t *hwif, hw_regs_t *hw)
1016{ 1016{
1017 struct device_node *np = pmif->node; 1017 struct device_node *np = pmif->node;
@@ -1726,7 +1726,7 @@ pmac_ide_dma_lost_irq (ide_drive_t *drive)
1726 * Allocate the data structures needed for using DMA with an interface 1726 * Allocate the data structures needed for using DMA with an interface
1727 * and fill the proper list of functions pointers 1727 * and fill the proper list of functions pointers
1728 */ 1728 */
1729static void __init 1729static void __devinit
1730pmac_ide_setup_dma(pmac_ide_hwif_t *pmif, ide_hwif_t *hwif) 1730pmac_ide_setup_dma(pmac_ide_hwif_t *pmif, ide_hwif_t *hwif)
1731{ 1731{
1732 /* We won't need pci_dev if we switch to generic consistent 1732 /* We won't need pci_dev if we switch to generic consistent