aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/scc_pata.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-10-19 18:32:34 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-10-19 18:32:34 -0400
commit8562043606430185cad26d085d46adcc7ad67fd1 (patch)
treeefcc9159a230eb62d023d38c465249ddaa252cc6 /drivers/ide/pci/scc_pata.c
parent039788e1532368eeca1071a873c14e03920cdf38 (diff)
ide: constify struct ide_port_info
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/pci/scc_pata.c')
-rw-r--r--drivers/ide/pci/scc_pata.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/pci/scc_pata.c b/drivers/ide/pci/scc_pata.c
index cb1bfe54b49..ebb7132b9b8 100644
--- a/drivers/ide/pci/scc_pata.c
+++ b/drivers/ide/pci/scc_pata.c
@@ -544,7 +544,7 @@ static int setup_mmio_scc (struct pci_dev *dev, const char *name)
544 */ 544 */
545 545
546static int __devinit init_setup_scc(struct pci_dev *dev, 546static int __devinit init_setup_scc(struct pci_dev *dev,
547 struct ide_port_info *d) 547 const struct ide_port_info *d)
548{ 548{
549 unsigned long ctl_base; 549 unsigned long ctl_base;
550 unsigned long dma_base; 550 unsigned long dma_base;
@@ -703,7 +703,7 @@ static void __devinit init_hwif_scc(ide_hwif_t *hwif)
703 .pio_mask = ATA_PIO4, \ 703 .pio_mask = ATA_PIO4, \
704 } 704 }
705 705
706static struct ide_port_info scc_chipsets[] __devinitdata = { 706static const struct ide_port_info scc_chipsets[] __devinitdata = {
707 /* 0 */ DECLARE_SCC_DEV("sccIDE"), 707 /* 0 */ DECLARE_SCC_DEV("sccIDE"),
708}; 708};
709 709