summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2013-12-05 11:12:15 -0600
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-05-08 07:06:48 +0200
commit4334c876346fe6c4ab977ed93a65eed765e7b9bb (patch)
tree789d0a134bf9c6d0aedc2912fe085a2fb5a8424b
parentb50566ef63b560ed149db6aeb19004d7c0345275 (diff)
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)
-rw-r--r--src/soc/intel/baytrail/lpe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/baytrail/lpe.c b/src/soc/intel/baytrail/lpe.c
index 72ac4cb295..c3bbff46f5 100644
--- a/src/soc/intel/baytrail/lpe.c
+++ b/src/soc/intel/baytrail/lpe.c
@@ -76,7 +76,7 @@ static void lpe_init(device_t dev)
static const struct device_operations device_ops = {
.read_resources = pci_dev_read_resources,
.set_resources = pci_dev_set_resources,
- .enable_resources = NULL,
+ .enable_resources = pci_dev_enable_resources,
.init = lpe_init,
.enable = NULL,
.scan_bus = NULL,