summaryrefslogtreecommitdiff
path: root/src/southbridge/broadcom/bcm5780/bcm5780_nic.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/broadcom/bcm5780/bcm5780_nic.c')
-rw-r--r--src/southbridge/broadcom/bcm5780/bcm5780_nic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/broadcom/bcm5780/bcm5780_nic.c b/src/southbridge/broadcom/bcm5780/bcm5780_nic.c
index 8033f4d5c4..19ff3703c9 100644
--- a/src/southbridge/broadcom/bcm5780/bcm5780_nic.c
+++ b/src/southbridge/broadcom/bcm5780/bcm5780_nic.c
@@ -37,12 +37,12 @@ static struct device_operations nic_ops = {
.scan_bus = 0,
.ops_pci = &lops_pci,
};
-static struct pci_driver nic_driver __pci_driver = {
+static const struct pci_driver nic_driver __pci_driver = {
.ops = &nic_ops,
.vendor = PCI_VENDOR_ID_BROADCOM,
.device = PCI_DEVICE_ID_BROADCOM_BCM5780_NIC,
};
-static struct pci_driver nic1_driver __pci_driver = {
+static const struct pci_driver nic1_driver __pci_driver = {
.ops = &nic_ops,
.vendor = PCI_VENDOR_ID_BROADCOM,
.device = PCI_DEVICE_ID_BROADCOM_BCM5780_NIC1,