diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-03-16 23:33:29 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-03-16 23:33:29 +0000 |
commit | 8e96ba2978b622bb605caaeb07600c45516651c2 (patch) | |
tree | ab2c348deb5ba5518812cf46e67d0cac90dd4a44 /src/southbridge/intel/i3100/i3100_sata.c | |
parent | 859e94a30420c726a0043a00a73abb946cfb94c3 (diff) | |
download | coreboot-8e96ba2978b622bb605caaeb07600c45516651c2.tar.xz |
pci drivers should be const.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5229 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/intel/i3100/i3100_sata.c')
-rw-r--r-- | src/southbridge/intel/i3100/i3100_sata.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/southbridge/intel/i3100/i3100_sata.c b/src/southbridge/intel/i3100/i3100_sata.c index d300ba4e15..a124d10d11 100644 --- a/src/southbridge/intel/i3100/i3100_sata.c +++ b/src/southbridge/intel/i3100/i3100_sata.c @@ -120,25 +120,25 @@ static struct device_operations sata_ops = { .ops_pci = &lops_pci, }; -static struct pci_driver ide_driver __pci_driver = { +static const struct pci_driver ide_driver __pci_driver = { .ops = &sata_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_3100_IDE, }; -static struct pci_driver sata_driver __pci_driver = { +static const struct pci_driver sata_driver __pci_driver = { .ops = &sata_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_3100_AHCI, }; -static struct pci_driver ide_driver_ep80579 __pci_driver = { +static const struct pci_driver ide_driver_ep80579 __pci_driver = { .ops = &sata_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_EP80579_IDE, }; -static struct pci_driver sata_driver_ep80579 __pci_driver = { +static const struct pci_driver sata_driver_ep80579 __pci_driver = { .ops = &sata_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_EP80579_AHCI, |