summaryrefslogtreecommitdiff
path: root/src/northbridge/intel
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-03-16 23:33:29 +0000
committerStefan Reinauer <stepan@openbios.org>2010-03-16 23:33:29 +0000
commit8e96ba2978b622bb605caaeb07600c45516651c2 (patch)
treeab2c348deb5ba5518812cf46e67d0cac90dd4a44 /src/northbridge/intel
parent859e94a30420c726a0043a00a73abb946cfb94c3 (diff)
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/northbridge/intel')
-rw-r--r--src/northbridge/intel/i3100/northbridge.c2
-rw-r--r--src/northbridge/intel/i3100/pciexp_porta.c4
-rw-r--r--src/northbridge/intel/i3100/pciexp_porta_ep80579.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/northbridge/intel/i3100/northbridge.c b/src/northbridge/intel/i3100/northbridge.c
index 4e9bf278a7..0a04faf61a 100644
--- a/src/northbridge/intel/i3100/northbridge.c
+++ b/src/northbridge/intel/i3100/northbridge.c
@@ -233,7 +233,7 @@ static struct device_operations mc_ops = {
.ops_pci = &intel_pci_ops,
};
-static struct pci_driver mc_driver __pci_driver = {
+static const struct pci_driver mc_driver __pci_driver = {
.ops = &mc_ops,
.vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_3100_MC,
diff --git a/src/northbridge/intel/i3100/pciexp_porta.c b/src/northbridge/intel/i3100/pciexp_porta.c
index da010f3703..b94094ed17 100644
--- a/src/northbridge/intel/i3100/pciexp_porta.c
+++ b/src/northbridge/intel/i3100/pciexp_porta.c
@@ -75,13 +75,13 @@ 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_PA0,
};
-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_PA1,
diff --git a/src/northbridge/intel/i3100/pciexp_porta_ep80579.c b/src/northbridge/intel/i3100/pciexp_porta_ep80579.c
index dbc1b5fdbb..d51227c0aa 100644
--- a/src/northbridge/intel/i3100/pciexp_porta_ep80579.c
+++ b/src/northbridge/intel/i3100/pciexp_porta_ep80579.c
@@ -99,13 +99,13 @@ 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_EP80579_PCIE_PA0,
};
-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_EP80579_PCIE_PA1,