patch-2.4.0-test11 linux/drivers/ide/icside.c
Next file: linux/drivers/ide/ide-pci.c
Previous file: linux/drivers/ide/hpt366.c
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Tue Nov 7 11:02:24 2000
- Orig file:
v2.4.0-test10/linux/drivers/ide/icside.c
- Orig date:
Sun Oct 8 10:50:17 2000
diff -u --recursive --new-file v2.4.0-test10/linux/drivers/ide/icside.c linux/drivers/ide/icside.c
@@ -163,7 +163,7 @@
* Purpose : identify IDE interface type
* Notes : checks the description string
*/
-static iftype_t icside_identifyif (struct expansion_card *ec)
+static iftype_t __init icside_identifyif (struct expansion_card *ec)
{
unsigned int addr;
iftype_t iftype;
@@ -505,7 +505,7 @@
return hwif;
}
-static int icside_register_v5(struct expansion_card *ec, int autodma)
+static int __init icside_register_v5(struct expansion_card *ec, int autodma)
{
unsigned long slot_port;
ide_hwif_t *hwif;
@@ -527,7 +527,7 @@
return hwif ? 0 : -1;
}
-static int icside_register_v6(struct expansion_card *ec, int autodma)
+static int __init icside_register_v6(struct expansion_card *ec, int autodma)
{
unsigned long slot_port, port;
ide_hwif_t *hwif, *mate;
@@ -585,7 +585,7 @@
return hwif || mate ? 0 : -1;
}
-int icside_init(void)
+int __init icside_init(void)
{
int autodma = 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)