From 0f1dc4eb5bb9941bdb8ff833ec745e1cfeaa9d28 Mon Sep 17 00:00:00 2001 From: Rudolf Marek Date: Fri, 22 Apr 2011 20:48:21 +0200 Subject: Add subsystem callbacks for VT8237x and VT890 family of chipsets Change-Id: Id34615f0c229d276d72cdf984cf82ea8cc1a85bb Signed-off-by: Rudolf Marek Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/523 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/southbridge/via/k8t890/ctrl.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/southbridge/via/k8t890/ctrl.c') diff --git a/src/southbridge/via/k8t890/ctrl.c b/src/southbridge/via/k8t890/ctrl.c index 6e5dbf787c..1ff0b744cd 100644 --- a/src/southbridge/via/k8t890/ctrl.c +++ b/src/southbridge/via/k8t890/ctrl.c @@ -181,12 +181,16 @@ static void ctrl_init(struct device *dev) } +static struct pci_operations lops_pci = { + .set_subsystem = pci_dev_set_subsystem, +}; + static const struct device_operations ctrl_ops = { .read_resources = pci_dev_read_resources, .set_resources = pci_dev_set_resources, .enable_resources = pci_dev_enable_resources, .init = ctrl_init, - .ops_pci = 0, + .ops_pci = &lops_pci, }; static const struct pci_driver northbridge_driver_t800 __pci_driver = { -- cgit v1.2.3