aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ns87415.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/ns87415.c')
-rw-r--r--drivers/ide/ns87415.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/ide/ns87415.c b/drivers/ide/ns87415.c
index 73f78d872d55..392fd106edf1 100644
--- a/drivers/ide/ns87415.c
+++ b/drivers/ide/ns87415.c
@@ -96,7 +96,7 @@ static const struct ide_tp_ops superio_tp_ops = {
96 .output_data = ide_output_data, 96 .output_data = ide_output_data,
97}; 97};
98 98
99static void __devinit superio_init_iops(struct hwif_s *hwif) 99static void superio_init_iops(struct hwif_s *hwif)
100{ 100{
101 struct pci_dev *pdev = to_pci_dev(hwif->dev); 101 struct pci_dev *pdev = to_pci_dev(hwif->dev);
102 u32 dma_stat; 102 u32 dma_stat;
@@ -201,7 +201,7 @@ static int ns87415_dma_end(ide_drive_t *drive)
201 return (dma_stat & 7) != 4; 201 return (dma_stat & 7) != 4;
202} 202}
203 203
204static void __devinit init_hwif_ns87415 (ide_hwif_t *hwif) 204static void init_hwif_ns87415 (ide_hwif_t *hwif)
205{ 205{
206 struct pci_dev *dev = to_pci_dev(hwif->dev); 206 struct pci_dev *dev = to_pci_dev(hwif->dev);
207 unsigned int ctrl, using_inta; 207 unsigned int ctrl, using_inta;
@@ -293,7 +293,7 @@ static const struct ide_dma_ops ns87415_dma_ops = {
293 .dma_sff_read_status = superio_dma_sff_read_status, 293 .dma_sff_read_status = superio_dma_sff_read_status,
294}; 294};
295 295
296static const struct ide_port_info ns87415_chipset __devinitconst = { 296static const struct ide_port_info ns87415_chipset = {
297 .name = DRV_NAME, 297 .name = DRV_NAME,
298 .init_hwif = init_hwif_ns87415, 298 .init_hwif = init_hwif_ns87415,
299 .tp_ops = &ns87415_tp_ops, 299 .tp_ops = &ns87415_tp_ops,
@@ -302,7 +302,7 @@ static const struct ide_port_info ns87415_chipset __devinitconst = {
302 IDE_HFLAG_NO_ATAPI_DMA, 302 IDE_HFLAG_NO_ATAPI_DMA,
303}; 303};
304 304
305static int __devinit ns87415_init_one(struct pci_dev *dev, const struct pci_device_id *id) 305static int ns87415_init_one(struct pci_dev *dev, const struct pci_device_id *id)
306{ 306{
307 struct ide_port_info d = ns87415_chipset; 307 struct ide_port_info d = ns87415_chipset;
308 308