summaryrefslogtreecommitdiff
path: root/src/southbridge/via/k8t890/host.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/via/k8t890/host.c')
-rw-r--r--src/southbridge/via/k8t890/host.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/southbridge/via/k8t890/host.c b/src/southbridge/via/k8t890/host.c
index 700a6372fa..54d79b4500 100644
--- a/src/southbridge/via/k8t890/host.c
+++ b/src/southbridge/via/k8t890/host.c
@@ -95,12 +95,16 @@ static const struct device_operations host_ops_old = {
.ops_pci = 0,
};
+static struct pci_operations lops_pci = {
+ .set_subsystem = pci_dev_set_subsystem,
+};
+
static const struct device_operations host_ops_t = {
.read_resources = pci_dev_read_resources,
.set_resources = pci_dev_set_resources,
.enable_resources = pci_dev_enable_resources,
.enable = host_enable,
- .ops_pci = 0,
+ .ops_pci = &lops_pci,
};
static const struct device_operations host_ops_m = {
@@ -109,7 +113,7 @@ static const struct device_operations host_ops_m = {
.enable_resources = pci_dev_enable_resources,
.enable = host_enable,
.init = host_init,
- .ops_pci = 0,
+ .ops_pci = &lops_pci,
};
static const struct pci_driver northbridge_driver_t800_old __pci_driver = {