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 | |
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')
-rw-r--r-- | src/southbridge/intel/i3100/i3100_ehci.c | 4 | ||||
-rw-r--r-- | src/southbridge/intel/i3100/i3100_lpc.c | 4 | ||||
-rw-r--r-- | src/southbridge/intel/i3100/i3100_pci.c | 2 | ||||
-rw-r--r-- | src/southbridge/intel/i3100/i3100_pciexp_portb.c | 8 | ||||
-rw-r--r-- | src/southbridge/intel/i3100/i3100_sata.c | 8 | ||||
-rw-r--r-- | src/southbridge/intel/i3100/i3100_smbus.c | 4 | ||||
-rw-r--r-- | src/southbridge/intel/i3100/i3100_uhci.c | 6 |
7 files changed, 18 insertions, 18 deletions
diff --git a/src/southbridge/intel/i3100/i3100_ehci.c b/src/southbridge/intel/i3100/i3100_ehci.c index 0c391c2647..195ea99cd1 100644 --- a/src/southbridge/intel/i3100/i3100_ehci.c +++ b/src/southbridge/intel/i3100/i3100_ehci.c @@ -55,13 +55,13 @@ static struct device_operations ehci_ops = { .ops_pci = &lops_pci, }; -static struct pci_driver ehci_driver __pci_driver = { +static const struct pci_driver ehci_driver __pci_driver = { .ops = &ehci_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_3100_EHCI, }; -static struct pci_driver ehci_driver_ep80579 __pci_driver = { +static const struct pci_driver ehci_driver_ep80579 __pci_driver = { .ops = &ehci_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_EP80579_EHCI, diff --git a/src/southbridge/intel/i3100/i3100_lpc.c b/src/southbridge/intel/i3100/i3100_lpc.c index e516939fe9..2d3b1fbf6f 100644 --- a/src/southbridge/intel/i3100/i3100_lpc.c +++ b/src/southbridge/intel/i3100/i3100_lpc.c @@ -422,13 +422,13 @@ static struct device_operations lpc_ops = { .ops_pci = &lops_pci, }; -static struct pci_driver lpc_driver __pci_driver = { +static const struct pci_driver lpc_driver __pci_driver = { .ops = &lpc_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_3100_LPC, }; -static struct pci_driver lpc_driver_ep80579 __pci_driver = { +static const struct pci_driver lpc_driver_ep80579 __pci_driver = { .ops = &lpc_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_EP80579_LPC, diff --git a/src/southbridge/intel/i3100/i3100_pci.c b/src/southbridge/intel/i3100/i3100_pci.c index 991d1d8ed0..99fc95d0f6 100644 --- a/src/southbridge/intel/i3100/i3100_pci.c +++ b/src/southbridge/intel/i3100/i3100_pci.c @@ -38,7 +38,7 @@ static struct device_operations pci_ops = { .ops_pci = 0, }; -static struct pci_driver pci_driver __pci_driver = { +static const struct pci_driver pci_driver __pci_driver = { .ops = &pci_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_3100_PCI, diff --git a/src/southbridge/intel/i3100/i3100_pciexp_portb.c b/src/southbridge/intel/i3100/i3100_pciexp_portb.c index 0777a11eb1..a987da02f5 100644 --- a/src/southbridge/intel/i3100/i3100_pciexp_portb.c +++ b/src/southbridge/intel/i3100/i3100_pciexp_portb.c @@ -69,25 +69,25 @@ static struct device_operations pcie_ops = { .ops_pci = 0, }; -static struct pci_driver pci_driver_0 __pci_driver = { +static const struct pci_driver pci_driver_0 __pci_driver = { .ops = &pcie_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_3100_PCIE_PB0, }; -static struct pci_driver pci_driver_1 __pci_driver = { +static const struct pci_driver pci_driver_1 __pci_driver = { .ops = &pcie_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_3100_PCIE_PB1, }; -static struct pci_driver pci_driver_2 __pci_driver = { +static const struct pci_driver pci_driver_2 __pci_driver = { .ops = &pcie_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_3100_PCIE_PB2, }; -static struct pci_driver pci_driver_3 __pci_driver = { +static const struct pci_driver pci_driver_3 __pci_driver = { .ops = &pcie_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_3100_PCIE_PB3, 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, diff --git a/src/southbridge/intel/i3100/i3100_smbus.c b/src/southbridge/intel/i3100/i3100_smbus.c index 14853d56bf..f51363d92a 100644 --- a/src/southbridge/intel/i3100/i3100_smbus.c +++ b/src/southbridge/intel/i3100/i3100_smbus.c @@ -66,13 +66,13 @@ static struct device_operations smbus_ops = { .ops_smbus_bus = &lops_smbus_bus, }; -static struct pci_driver smbus_driver __pci_driver = { +static const struct pci_driver smbus_driver __pci_driver = { .ops = &smbus_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_3100_SMB, }; -static struct pci_driver smbus_driver_ep80579 __pci_driver = { +static const struct pci_driver smbus_driver_ep80579 __pci_driver = { .ops = &smbus_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_EP80579_SMB, diff --git a/src/southbridge/intel/i3100/i3100_uhci.c b/src/southbridge/intel/i3100/i3100_uhci.c index e5c25a95a1..5453509769 100644 --- a/src/southbridge/intel/i3100/i3100_uhci.c +++ b/src/southbridge/intel/i3100/i3100_uhci.c @@ -49,19 +49,19 @@ static struct device_operations uhci_ops = { .ops_pci = &lops_pci, }; -static struct pci_driver uhci_driver __pci_driver = { +static const struct pci_driver uhci_driver __pci_driver = { .ops = &uhci_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_3100_UHCI, }; -static struct pci_driver usb2_driver __pci_driver = { +static const struct pci_driver usb2_driver __pci_driver = { .ops = &uhci_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_3100_UHCI2, }; -static struct pci_driver uhci_driver_ep80579 __pci_driver = { +static const struct pci_driver uhci_driver_ep80579 __pci_driver = { .ops = &uhci_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_EP80579_UHCI, |