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_old.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_old.c')
-rw-r--r-- | drivers/ide/pci/pdc202xx_old.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/pci/pdc202xx_old.c b/drivers/ide/pci/pdc202xx_old.c index 6ff2def58da0..de9a27400462 100644 --- a/drivers/ide/pci/pdc202xx_old.c +++ b/drivers/ide/pci/pdc202xx_old.c | |||
@@ -117,7 +117,7 @@ static void pdc202xx_set_pio_mode(ide_drive_t *drive, const u8 pio) | |||
117 | pdc202xx_set_mode(drive, XFER_PIO_0 + pio); | 117 | pdc202xx_set_mode(drive, XFER_PIO_0 + pio); |
118 | } | 118 | } |
119 | 119 | ||
120 | static u8 __devinit pdc2026x_cable_detect(ide_hwif_t *hwif) | 120 | static u8 pdc2026x_cable_detect(ide_hwif_t *hwif) |
121 | { | 121 | { |
122 | struct pci_dev *dev = to_pci_dev(hwif->dev); | 122 | struct pci_dev *dev = to_pci_dev(hwif->dev); |
123 | u16 CIS, mask = hwif->channel ? (1 << 11) : (1 << 10); | 123 | u16 CIS, mask = hwif->channel ? (1 << 11) : (1 << 10); |