baytrail: enable lpe resources assigned to device

The enable_resources callback was accidentally populated
with NULL. Make that callback be the generic
pci_dev_enable_resources.

BUG=chrome-os-partner:23791
BRANCH=None
TEST=Built and booted.

Change-Id: I670b51bd9aff6764e9b549287a737b662572cdc7
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/178960
Reviewed-by: Shawn Nematbakhsh <shawnn@chromium.org>
Reviewed-on: http://review.coreboot.org/4989
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Tested-by: build bot (Jenkins)
This commit is contained in:
Aaron Durbin 2013-12-05 11:12:15 -06:00 committed by Kyösti Mälkki
parent b50566ef63
commit 4334c87634
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ static void lpe_init(device_t dev)
static const struct device_operations device_ops = { static const struct device_operations device_ops = {
.read_resources = pci_dev_read_resources, .read_resources = pci_dev_read_resources,
.set_resources = pci_dev_set_resources, .set_resources = pci_dev_set_resources,
.enable_resources = NULL, .enable_resources = pci_dev_enable_resources,
.init = lpe_init, .init = lpe_init,
.enable = NULL, .enable = NULL,
.scan_bus = NULL, .scan_bus = NULL,