summaryrefslogtreecommitdiff
path: root/src/southbridge/winbond
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/winbond')
-rw-r--r--src/southbridge/winbond/w83c553/w83c553f.c4
-rw-r--r--src/southbridge/winbond/w83c553/w83c553f_ide.c4
2 files changed, 4 insertions, 4 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,
diff --git a/src/southbridge/winbond/w83c553/w83c553f_ide.c b/src/southbridge/winbond/w83c553/w83c553f_ide.c
index 5b4e82f8c5..d385cbfa26 100644
--- a/src/southbridge/winbond/w83c553/w83c553f_ide.c
+++ b/src/southbridge/winbond/w83c553/w83c553f_ide.c
@@ -97,7 +97,7 @@ w83c553_ide_init(struct device *dev)
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 @@ struct device_operations w83c553_ide_ops = {
.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,