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

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

diff -u --recursive --new-file v1.3.18/linux/drivers/block/hd.c linux/drivers/block/hd.c
@@ -44,8 +44,6 @@
 #define MAJOR_NR HD_MAJOR
 #include "blk.h"
 
-#define HD_IRQ 14
-
 static int revalidate_hddisk(int, int);
 
 #define	HD_DELAY	0
@@ -915,7 +913,7 @@
 
 }
 
-static void hd_geninit(void);
+static void hd_geninit(struct gendisk *);
 
 static struct gendisk hd_gendisk = {
 	MAJOR_NR,	/* Major number */	
@@ -952,7 +950,7 @@
  * We enable interrupts in some of the routines after making sure it's
  * safe.
  */
-static void hd_geninit(void)
+static void hd_geninit(struct gendisk *ignored)
 {
 	int i;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this