patch-2.4.23 linux-2.4.23/drivers/ide/ide-geometry.c

Next file: linux-2.4.23/drivers/ide/ide-io.c
Previous file: linux-2.4.23/drivers/ide/ide-disk.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/drivers/ide/ide-geometry.c linux-2.4.23/drivers/ide/ide-geometry.c
@@ -83,7 +83,6 @@
 }
 
 
-extern ide_drive_t * get_info_ptr(kdev_t);
 extern unsigned long current_capacity (ide_drive_t *);
 
 /*
@@ -156,7 +155,7 @@
 	int transl = 1;		/* try translation */
 	int ret = 0;
 
-	drive = get_info_ptr(i_rdev);
+	drive = ide_info_ptr(i_rdev, 0);
 	if (!drive)
 		return 0;
 

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