diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2007-10-30 02:17:49 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2007-10-30 02:17:49 +0000 |
commit | 83b52e719373f4f34bebbe47f81c7e3b4dc20a78 (patch) | |
tree | 135bb846abc5067e348df62933aab5ebe043facb /src/southbridge/sis/sis966/sis966_aza.c | |
parent | f32325ed8a186efdc379c1890036a511e30069e9 (diff) |
fix the readwrite/readonly clashes for the pci_driver structs in the sis
code. This is trivial, I did it for the other components before.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2905 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/sis/sis966/sis966_aza.c')
-rw-r--r-- | src/southbridge/sis/sis966/sis966_aza.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/southbridge/sis/sis966/sis966_aza.c b/src/southbridge/sis/sis966/sis966_aza.c index 48fd0e7288..bb308a598f 100644 --- a/src/southbridge/sis/sis966/sis966_aza.c +++ b/src/southbridge/sis/sis966/sis966_aza.c @@ -31,8 +31,7 @@ #include <arch/io.h> #include "sis966.h" -uint8_t SiS_SiS7502_init[6][3]={ - +uint8_t SiS_SiS7502_init[7][3]={ {0x04, 0xFF, 0x07}, {0x2C, 0xFF, 0x39}, {0x2D, 0xFF, 0x10}, @@ -493,7 +492,7 @@ static struct device_operations aza_audio_ops = { .ops_pci = &lops_pci, }; -static struct pci_driver azaaudio_driver __pci_driver = { +static const struct pci_driver azaaudio_driver __pci_driver = { .ops = &aza_audio_ops, .vendor = PCI_VENDOR_ID_SIS, .device = PCI_DEVICE_ID_SIS_SIS966_AZA, |