git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ide: ->cable_detect method cannot be marked __devinit
[pandora-kernel.git]
/
drivers
/
ide
/
pci
/
cmd64x.c
diff --git
a/drivers/ide/pci/cmd64x.c
b/drivers/ide/pci/cmd64x.c
index
1360b4f
..
e064398
100644
(file)
--- a/
drivers/ide/pci/cmd64x.c
+++ b/
drivers/ide/pci/cmd64x.c
@@
-354,7
+354,7
@@
static unsigned int __devinit init_chipset_cmd64x(struct pci_dev *dev)
return 0;
}
-static u8
__devinit
cmd64x_cable_detect(ide_hwif_t *hwif)
+static u8 cmd64x_cable_detect(ide_hwif_t *hwif)
{
struct pci_dev *dev = to_pci_dev(hwif->dev);
u8 bmidecsr = 0, mask = hwif->channel ? 0x02 : 0x01;