Author: stepan Date: 2009-04-05 00:24:23 +0200 (Sun, 05 Apr 2009) New Revision: 4070
Modified: trunk/coreboot-v2/src/southbridge/winbond/w83c553/w83c553f.c trunk/coreboot-v2/src/southbridge/winbond/w83c553/w83c553f_ide.c Log: 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
Modified: trunk/coreboot-v2/src/southbridge/winbond/w83c553/w83c553f.c =================================================================== --- trunk/coreboot-v2/src/southbridge/winbond/w83c553/w83c553f.c 2009-04-04 22:18:26 UTC (rev 4069) +++ trunk/coreboot-v2/src/southbridge/winbond/w83c553/w83c553f.c 2009-04-04 22:24:23 UTC (rev 4070) @@ -188,7 +188,7 @@ 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 @@ .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,
Modified: trunk/coreboot-v2/src/southbridge/winbond/w83c553/w83c553f_ide.c =================================================================== --- trunk/coreboot-v2/src/southbridge/winbond/w83c553/w83c553f_ide.c 2009-04-04 22:18:26 UTC (rev 4069) +++ trunk/coreboot-v2/src/southbridge/winbond/w83c553/w83c553f_ide.c 2009-04-04 22:24:23 UTC (rev 4070) @@ -97,7 +97,7 @@ printk_info("IDE configuration complete\n"); }
-struct device_operations w83c553_ide_ops = { +static struct device_operations w83c553_ide_ops = { .read_resources = pci_dev_read_resources, .set_resources = pci_dev_set_resources, .enable_resources = pci_dev_enable_resources, @@ -105,7 +105,7 @@ .scan_bus = 0, };
-struct pci_driver w83c553f_ide_pci_driver __pci_driver = { +static const struct pci_driver w83c553f_ide_pci_driver __pci_driver = { /* w83c553f_ide */ .ops = &w83c553_ide_ops, .device = PCI_DEVICE_ID_WINBOND_82C105,