summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/i82801xx/i82801xx_nic.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-05-26 12:58:00 +0000
committerStefan Reinauer <stepan@openbios.org>2009-05-26 12:58:00 +0000
commit069385fcb32bed6fcbc1457b63733c802920bb84 (patch)
tree269dcbf1526ca7464effe1aa55f82bf1c2c019dd /src/southbridge/intel/i82801xx/i82801xx_nic.c
parent69390dbba1b213f9af1a743b1dbae292cc96e9de (diff)
ops can not be const because of the pci conf1/conf2 hackery we do. trivial
patch, just removes the warnings like coreboot-v2/src/southbridge/intel/i82801xx/i82801xx_ac97.c:73: warning: initialization discards qualifiers from pointer target type Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4302 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/intel/i82801xx/i82801xx_nic.c')
-rw-r--r--src/southbridge/intel/i82801xx/i82801xx_nic.c2
1 files changed, 1 insertions, 1 deletions
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,