projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ide: drop "PIO data" argument from ide_get_best_pio_mode()
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
ide
/
pci
/
sc1200.c
diff --git
a/drivers/ide/pci/sc1200.c
b/drivers/ide/pci/sc1200.c
index 9ac8889f8ad389f6f2306d81577ba32a32ab85c8..98e1a2bd9501c591f3a357c27dead6a9818005da 100644
(file)
--- a/
drivers/ide/pci/sc1200.c
+++ b/
drivers/ide/pci/sc1200.c
@@
-304,7
+304,7
@@
static void sc1200_tuneproc (ide_drive_t *drive, byte pio) /* mode=255 means "au
return;
}
- pio = ide_get_best_pio_mode(drive, pio, 4
, NULL
);
+ pio = ide_get_best_pio_mode(drive, pio, 4);
printk("SC1200: %s: setting PIO mode%d\n", drive->name, pio);
if (sc1200_set_xfer_mode(drive, XFER_PIO_0 + pio) == 0)