summaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/jmicron.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-08-05 18:17:04 +0200
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-08-05 18:17:04 +0200
commitf454cbe8cd38b6d447e74ddaf012017fea42717e (patch)
tree12b53fb8f50a0197411d39c570ac525bf6c616ad /drivers/ide/pci/jmicron.c
parent36de994809264f752e51b74e77a9c49091d14230 (diff)
downloadkernel-crypto-f454cbe8cd38b6d447e74ddaf012017fea42717e.tar.gz
kernel-crypto-f454cbe8cd38b6d447e74ddaf012017fea42717e.tar.xz
kernel-crypto-f454cbe8cd38b6d447e74ddaf012017fea42717e.zip
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/jmicron.c')
-rw-r--r--drivers/ide/pci/jmicron.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/pci/jmicron.c b/drivers/ide/pci/jmicron.c
index 545b6e172d9..bb9d09d8f19 100644
--- a/drivers/ide/pci/jmicron.c
+++ b/drivers/ide/pci/jmicron.c
@@ -27,7 +27,7 @@ typedef enum {
* Returns the cable type.
*/
-static u8 __devinit jmicron_cable_detect(ide_hwif_t *hwif)
+static u8 jmicron_cable_detect(ide_hwif_t *hwif)
{
struct pci_dev *pdev = to_pci_dev(hwif->dev);