projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ide: move ide_rate_filter() calls to the upper layer (take 2)
[cascardo/linux.git]
/
drivers
/
ide
/
pci
/
amd74xx.c
diff --git
a/drivers/ide/pci/amd74xx.c
b/drivers/ide/pci/amd74xx.c
index
06c15a6
..
9abbde3
100644
(file)
--- a/
drivers/ide/pci/amd74xx.c
+++ b/
drivers/ide/pci/amd74xx.c
@@
-234,7
+234,7
@@
static void amd_set_speed(struct pci_dev *dev, unsigned char dn, struct ide_timi
* by upper layers.
*/
-static int amd_set_drive(ide_drive_t *drive, u8 speed)
+static int amd_set_drive(ide_drive_t *drive,
const
u8 speed)
{
ide_drive_t *peer = HWIF(drive)->drives + (~drive->dn & 1);
struct ide_timing t, p;