summaryrefslogtreecommitdiff
path: root/src/southbridge/winbond/w83c553/w83c553f.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-04-04 22:24:23 +0000
committerStefan Reinauer <stepan@openbios.org>2009-04-04 22:24:23 +0000
commitdd0b6ff4dd7886405a3af5f8481cd65a016226eb (patch)
tree3ea37844d6a9a957e6f26f99a57de447c6039933 /src/southbridge/winbond/w83c553/w83c553f.c
parent14ad50edf6aeeff019cb3f446a8677c6eb98756c (diff)
fix this warning for the embedded planet ep405pc
/tmp/ccilLWBf.s: Assembler messages: /tmp/ccilLWBf.s:144: Warning: setting incorrect section attributes for .rodata.pci_driver Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4070 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/winbond/w83c553/w83c553f.c')
-rw-r--r--src/southbridge/winbond/w83c553/w83c553f.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/winbond/w83c553/w83c553f.c b/src/southbridge/winbond/w83c553/w83c553f.c
index 6208afec96..1e171213f1 100644
--- a/src/southbridge/winbond/w83c553/w83c553f.c
+++ b/src/southbridge/winbond/w83c553/w83c553f.c
@@ -188,7 +188,7 @@ static void w83c553_enable_resources(device_t dev)
enable_childrens_resources(dev);
}
-struct device_operations w83c553_ops = {
+static struct device_operations w83c553_ops = {
.read_resources = pci_dev_read_resources,
.set_resources = pci_dev_set_resources,
.enable_resources = w83c553_enable_resources,
@@ -196,7 +196,7 @@ struct device_operations w83c553_ops = {
.scan_bus = scan_static_bus,
};
-struct pci_driver w83c553f_pci_driver __pci_driver = {
+static const struct pci_driver w83c553f_pci_driver __pci_driver = {
/* w83c553f */
.ops = &w83c553_ops,
.device = PCI_DEVICE_ID_WINBOND_83C553,