diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-08-05 12:17:04 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-08-05 12:17:04 -0400 |
commit | f454cbe8cd38b6d447e74ddaf012017fea42717e (patch) | |
tree | 12b53fb8f50a0197411d39c570ac525bf6c616ad /drivers/ide/pci/pdc202xx_new.c | |
parent | 36de994809264f752e51b74e77a9c49091d14230 (diff) |
ide: ->cable_detect method cannot be marked __devinit
Now that we have warm-plug support ->cable_detect method no longer
can be be marked __devinit.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/pci/pdc202xx_new.c')
-rw-r--r-- | drivers/ide/pci/pdc202xx_new.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/pci/pdc202xx_new.c b/drivers/ide/pci/pdc202xx_new.c index 998615fa285f..0f609b72f470 100644 --- a/drivers/ide/pci/pdc202xx_new.c +++ b/drivers/ide/pci/pdc202xx_new.c | |||
@@ -193,7 +193,7 @@ static void pdcnew_set_pio_mode(ide_drive_t *drive, const u8 pio) | |||
193 | } | 193 | } |
194 | } | 194 | } |
195 | 195 | ||
196 | static u8 __devinit pdcnew_cable_detect(ide_hwif_t *hwif) | 196 | static u8 pdcnew_cable_detect(ide_hwif_t *hwif) |
197 | { | 197 | { |
198 | if (get_indexed_reg(hwif, 0x0b) & 0x04) | 198 | if (get_indexed_reg(hwif, 0x0b) & 0x04) |
199 | return ATA_CBL_PATA40; | 199 | return ATA_CBL_PATA40; |