patch-2.3.29 linux/drivers/block/piix.c

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

diff -u --recursive --new-file v2.3.28/linux/drivers/block/piix.c linux/drivers/block/piix.c
@@ -74,12 +74,12 @@
 #include <linux/stat.h>
 #include <linux/proc_fs.h>
 
-static int piix_get_info(char *, char **, off_t, int, int);
-extern int (*piix_display_info)(char *, char **, off_t, int, int); /* ide-proc.c */
+static int piix_get_info(char *, char **, off_t, int);
+extern int (*piix_display_info)(char *, char **, off_t, int); /* ide-proc.c */
 extern char *ide_media_verbose(ide_drive_t *);
 static struct pci_dev *bmide_dev;
 
-static int piix_get_info (char *buffer, char **addr, off_t offset, int count, int dummy)
+static int piix_get_info (char *buffer, char **addr, off_t offset, int count)
 {
 	/* int rc; */
 	int piix_who = (bmide_dev->device == PCI_DEVICE_ID_INTEL_82371AB) ? 4 : 3;

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