From patchwork Tue Apr 19 19:47:18 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [4/4] pci1x2x: use cardbus_read_resources()/cardbus_enable_resources() Date: Tue, 19 Apr 2011 19:47:18 -0000 From: Sven Schnelle X-Patchwork-Id: 2888 Message-Id: <1303242438-13852-5-git-send-email-svens@stackframe.org> To: coreboot@coreboot.org Cc: svens@stackframe.org Signed-off-by: Sven Schnelle Acked-by: Stefan Reinauer --- src/southbridge/ti/pci1x2x/pci1x2x.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/southbridge/ti/pci1x2x/pci1x2x.c b/src/southbridge/ti/pci1x2x/pci1x2x.c index a3ec35c..bc4ee89 100644 --- a/src/southbridge/ti/pci1x2x/pci1x2x.c +++ b/src/southbridge/ti/pci1x2x/pci1x2x.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include "chip.h" @@ -63,9 +64,9 @@ static struct pci_operations ti_pci1x2y_pci_ops = { }; struct device_operations southbridge_ti_pci1x2x_pciops = { - .read_resources = NULL, //pci_dev_read_resources, + .read_resources = cardbus_read_resources, .set_resources = pci_dev_set_resources, - .enable_resources = pci_dev_enable_resources, + .enable_resources = cardbus_enable_resources, .init = ti_pci1x2y_init, .scan_bus = 0, .ops_pci = &ti_pci1x2y_pci_ops,