aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/southbridge/intel/i82801xx/i82801xx_ac97.c2
-rw-r--r--src/southbridge/intel/i82801xx/i82801xx_nic.c2
-rw-r--r--src/southbridge/intel/i82801xx/i82801xx_smbus.c2
-rw-r--r--src/southbridge/intel/i82801xx/i82801xx_usb.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/southbridge/intel/i82801xx/i82801xx_ac97.c b/src/southbridge/intel/i82801xx/i82801xx_ac97.c
index 70f5511f9d..ace04ffaeb 100644
--- a/src/southbridge/intel/i82801xx/i82801xx_ac97.c
+++ b/src/southbridge/intel/i82801xx/i82801xx_ac97.c
@@ -27,7 +27,7 @@
#include <device/pci_ids.h>
#include "i82801xx.h"
-static const struct device_operations ac97_ops = {
+static struct device_operations ac97_ops = {
.read_resources = pci_dev_read_resources,
.set_resources = pci_dev_set_resources,
.enable_resources = pci_dev_enable_resources,
diff --git a/src/southbridge/intel/i82801xx/i82801xx_nic.c b/src/southbridge/intel/i82801xx/i82801xx_nic.c
index c8a1e9def7..3728d28bd7 100644
--- a/src/southbridge/intel/i82801xx/i82801xx_nic.c
+++ b/src/southbridge/intel/i82801xx/i82801xx_nic.c
@@ -25,7 +25,7 @@
#include <device/pci.h>
#include <device/pci_ids.h>
-static const struct device_operations nic_ops = {
+static struct device_operations nic_ops = {
.read_resources = pci_dev_read_resources,
.set_resources = pci_dev_set_resources,
.enable_resources = pci_dev_enable_resources,
diff --git a/src/southbridge/intel/i82801xx/i82801xx_smbus.c b/src/southbridge/intel/i82801xx/i82801xx_smbus.c
index 2173104949..1608650be5 100644
--- a/src/southbridge/intel/i82801xx/i82801xx_smbus.c
+++ b/src/southbridge/intel/i82801xx/i82801xx_smbus.c
@@ -38,7 +38,7 @@ static int smbus_read_byte(struct bus *bus, device_t dev, u8 address)
return do_smbus_read_byte(res->base, device, address);
}
-static const struct smbus_bus_operations lops_smbus_bus = {
+static struct smbus_bus_operations lops_smbus_bus = {
.read_byte = smbus_read_byte,
};
diff --git a/src/southbridge/intel/i82801xx/i82801xx_usb.c b/src/southbridge/intel/i82801xx/i82801xx_usb.c
index 7bb424ff14..74bbbee17c 100644
--- a/src/southbridge/intel/i82801xx/i82801xx_usb.c
+++ b/src/southbridge/intel/i82801xx/i82801xx_usb.c
@@ -31,7 +31,7 @@ static void usb_init(struct device *dev)
/* TODO: Any init needed? Some ports have it, others don't. */
}
-static const struct device_operations usb_ops = {
+static struct device_operations usb_ops = {
.read_resources = pci_dev_read_resources,
.set_resources = pci_dev_set_resources,
.enable_resources = pci_dev_enable_resources,