diff options
Diffstat (limited to 'drivers/ide/pci/amd74xx.c')
-rw-r--r-- | drivers/ide/pci/amd74xx.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/ide/pci/amd74xx.c b/drivers/ide/pci/amd74xx.c index 1e66a960a96a..824471f91bf5 100644 --- a/drivers/ide/pci/amd74xx.c +++ b/drivers/ide/pci/amd74xx.c | |||
@@ -112,13 +112,13 @@ static void amd_set_pio_mode(ide_drive_t *drive, const u8 pio) | |||
112 | amd_set_drive(drive, XFER_PIO_0 + pio); | 112 | amd_set_drive(drive, XFER_PIO_0 + pio); |
113 | } | 113 | } |
114 | 114 | ||
115 | static void __devinit amd7409_cable_detect(struct pci_dev *dev) | 115 | static void amd7409_cable_detect(struct pci_dev *dev) |
116 | { | 116 | { |
117 | /* no host side cable detection */ | 117 | /* no host side cable detection */ |
118 | amd_80w = 0x03; | 118 | amd_80w = 0x03; |
119 | } | 119 | } |
120 | 120 | ||
121 | static void __devinit amd7411_cable_detect(struct pci_dev *dev) | 121 | static void amd7411_cable_detect(struct pci_dev *dev) |
122 | { | 122 | { |
123 | int i; | 123 | int i; |
124 | u32 u = 0; | 124 | u32 u = 0; |
@@ -140,7 +140,7 @@ static void __devinit amd7411_cable_detect(struct pci_dev *dev) | |||
140 | * The initialization callback. Initialize drive independent registers. | 140 | * The initialization callback. Initialize drive independent registers. |
141 | */ | 141 | */ |
142 | 142 | ||
143 | static unsigned int __devinit init_chipset_amd74xx(struct pci_dev *dev) | 143 | static unsigned int init_chipset_amd74xx(struct pci_dev *dev) |
144 | { | 144 | { |
145 | u8 t = 0, offset = amd_offset(dev); | 145 | u8 t = 0, offset = amd_offset(dev); |
146 | 146 | ||
@@ -324,6 +324,8 @@ static struct pci_driver driver = { | |||
324 | .id_table = amd74xx_pci_tbl, | 324 | .id_table = amd74xx_pci_tbl, |
325 | .probe = amd74xx_probe, | 325 | .probe = amd74xx_probe, |
326 | .remove = ide_pci_remove, | 326 | .remove = ide_pci_remove, |
327 | .suspend = ide_pci_suspend, | ||
328 | .resume = ide_pci_resume, | ||
327 | }; | 329 | }; |
328 | 330 | ||
329 | static int __init amd74xx_ide_init(void) | 331 | static int __init amd74xx_ide_init(void) |