aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/piix.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/piix.c')
-rw-r--r--drivers/ide/piix.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/ide/piix.c b/drivers/ide/piix.c
index fe0fd60cfc09..a671cead6ae7 100644
--- a/drivers/ide/piix.c
+++ b/drivers/ide/piix.c
@@ -297,7 +297,7 @@ static u8 piix_cable_detect(ide_hwif_t *hwif)
297 * capabilities of the hardware. 297 * capabilities of the hardware.
298 */ 298 */
299 299
300static void __devinit init_hwif_piix(ide_hwif_t *hwif) 300static void init_hwif_piix(ide_hwif_t *hwif)
301{ 301{
302 if (!hwif->dma_base) 302 if (!hwif->dma_base)
303 return; 303 return;
@@ -344,7 +344,7 @@ static const struct ide_port_ops ich_port_ops = {
344 .udma_mask = udma, \ 344 .udma_mask = udma, \
345 } 345 }
346 346
347static const struct ide_port_info piix_pci_info[] __devinitconst = { 347static const struct ide_port_info piix_pci_info[] = {
348 /* 0: MPIIX */ 348 /* 0: MPIIX */
349 { /* 349 { /*
350 * MPIIX actually has only a single IDE channel mapped to 350 * MPIIX actually has only a single IDE channel mapped to
@@ -382,7 +382,7 @@ static const struct ide_port_info piix_pci_info[] __devinitconst = {
382 * finds a device matching our IDE device tables. 382 * finds a device matching our IDE device tables.
383 */ 383 */
384 384
385static int __devinit piix_init_one(struct pci_dev *dev, const struct pci_device_id *id) 385static int piix_init_one(struct pci_dev *dev, const struct pci_device_id *id)
386{ 386{
387 return ide_pci_init_one(dev, &piix_pci_info[id->driver_data], NULL); 387 return ide_pci_init_one(dev, &piix_pci_info[id->driver_data], NULL);
388} 388}
@@ -394,7 +394,7 @@ static int __devinit piix_init_one(struct pci_dev *dev, const struct pci_device_
394 * they are found, disable use of DMA IDE 394 * they are found, disable use of DMA IDE
395 */ 395 */
396 396
397static void __devinit piix_check_450nx(void) 397static void piix_check_450nx(void)
398{ 398{
399 struct pci_dev *pdev = NULL; 399 struct pci_dev *pdev = NULL;
400 u16 cfg; 400 u16 cfg;