patch-2.3.10 linux/drivers/block/hd.c

Next file: linux/drivers/block/hpt343.c
Previous file: linux/drivers/block/genhd.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.9/linux/drivers/block/hd.c linux/drivers/block/hd.c
@@ -113,7 +113,7 @@
 }
 #endif
 
-__initfunc(void hd_setup(char *str, int *ints))
+void __init hd_setup(char *str, int *ints)
 {
 	int hdind = 0;
 
@@ -783,7 +783,7 @@
 	block_fsync		/* fsync */
 };
 
-__initfunc(int hd_init(void))
+int __init hd_init(void)
 {
 	if (register_blkdev(MAJOR_NR,"hd",&hd_fops)) {
 		printk("hd: unable to get major %d for hard disk\n",MAJOR_NR);

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