diff options
Diffstat (limited to 'drivers/ide/pci/cs5530.c')
-rw-r--r-- | drivers/ide/pci/cs5530.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/ide/pci/cs5530.c b/drivers/ide/pci/cs5530.c index e5949b1d3fb0..518f430c1529 100644 --- a/drivers/ide/pci/cs5530.c +++ b/drivers/ide/pci/cs5530.c | |||
@@ -143,13 +143,11 @@ static int cs5530_config_dma(ide_drive_t *drive) | |||
143 | return 1; | 143 | return 1; |
144 | } | 144 | } |
145 | 145 | ||
146 | static int cs5530_tune_chipset(ide_drive_t *drive, u8 mode) | 146 | static int cs5530_tune_chipset(ide_drive_t *drive, const u8 mode) |
147 | { | 147 | { |
148 | unsigned long basereg; | 148 | unsigned long basereg; |
149 | unsigned int reg, timings = 0; | 149 | unsigned int reg, timings = 0; |
150 | 150 | ||
151 | mode = ide_rate_filter(drive, mode); | ||
152 | |||
153 | /* | 151 | /* |
154 | * Tell the drive to switch to the new mode; abort on failure. | 152 | * Tell the drive to switch to the new mode; abort on failure. |
155 | */ | 153 | */ |