]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
macide/q40ide: add missing __init tag to {macide,q40ide}_init()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 27 Nov 2007 20:35:54 +0000 (21:35 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 27 Nov 2007 20:35:54 +0000 (21:35 +0100)
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/legacy/macide.c
drivers/ide/legacy/q40ide.c

index e87cd2f16430a6555e4f7e88fca5ee1e17d0e3e0..5c6aa77c237087d87e14837f6d5239716bb3dc24 100644 (file)
@@ -81,7 +81,7 @@ int macide_ack_intr(ide_hwif_t* hwif)
  * Probe for a Macintosh IDE interface
  */
 
-void macide_init(void)
+void __init macide_init(void)
 {
        hw_regs_t hw;
        ide_hwif_t *hwif;
index a73db1bd482d6ecbdcf023f72aba169e61595f4b..6ea46a6723e2c3975758a88bba8c304d96390bb6 100644 (file)
@@ -111,7 +111,7 @@ static const char *q40_ide_names[Q40IDE_NUM_HWIFS]={
  *  Probe for Q40 IDE interfaces
  */
 
-void q40ide_init(void)
+void __init q40ide_init(void)
 {
     int i;
     ide_hwif_t *hwif;