patch-2.3.16 linux/drivers/block/ide-pmac.c

Next file: linux/drivers/block/ide-probe.c
Previous file: linux/drivers/block/ide-pci.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.15/linux/drivers/block/ide-pmac.c linux/drivers/block/ide-pmac.c
@@ -57,7 +57,7 @@
 #endif /* CONFIG_PMAC_PBOOK */
 
 /*
- * N.B. this can't be an initfunc, because the media-bay task can
+ * N.B. this can't be an __init, because the media-bay task can
  * call ide_[un]register at any time.
  */
 void pmac_ide_init_hwif_ports(hw_regs_t *hw,
@@ -117,7 +117,7 @@
 	}
 }
 
-__initfunc(void pmac_ide_probe(void))
+void __init pmac_ide_probe(void)
 {
 	struct device_node *np;
 	int i;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)