diff options
Diffstat (limited to 'drivers/ata/pata_pdc202xx_old.c')
-rw-r--r-- | drivers/ata/pata_pdc202xx_old.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ata/pata_pdc202xx_old.c b/drivers/ata/pata_pdc202xx_old.c index 0a1493398913..a764ce8252aa 100644 --- a/drivers/ata/pata_pdc202xx_old.c +++ b/drivers/ata/pata_pdc202xx_old.c | |||
@@ -244,7 +244,6 @@ static void pdc2026x_bmdma_stop(struct ata_queued_cmd *qc) | |||
244 | 244 | ||
245 | /** | 245 | /** |
246 | * pdc2026x_dev_config - device setup hook | 246 | * pdc2026x_dev_config - device setup hook |
247 | * @ap: ATA port | ||
248 | * @adev: newly found device | 247 | * @adev: newly found device |
249 | * | 248 | * |
250 | * Perform chip specific early setup. We need to lock the transfer | 249 | * Perform chip specific early setup. We need to lock the transfer |
@@ -252,7 +251,7 @@ static void pdc2026x_bmdma_stop(struct ata_queued_cmd *qc) | |||
252 | * barf. | 251 | * barf. |
253 | */ | 252 | */ |
254 | 253 | ||
255 | static void pdc2026x_dev_config(struct ata_port *ap, struct ata_device *adev) | 254 | static void pdc2026x_dev_config(struct ata_device *adev) |
256 | { | 255 | { |
257 | adev->max_sectors = 256; | 256 | adev->max_sectors = 256; |
258 | } | 257 | } |