diff options
author | Ben Gardner <gardner.ben@gmail.com> | 2016-04-14 15:21:01 -0500 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-04-16 02:04:41 +0200 |
commit | 26ac4db3836ce07ae36d81c5f120035efa3cd055 (patch) | |
tree | 8a25c99e3434daa29fd6d7caf97db34e2789afce | |
parent | 5de5522685c260e9643bad14faa22d417e3fc662 (diff) | |
download | coreboot-26ac4db3836ce07ae36d81c5f120035efa3cd055.tar.xz |
intel/fsp_baytrail: Eliminate warning about missing set_resources
In northcluster.c, the set_resources member of struct device_operations
is set to NULL. That causes this message on the console:
PCI: 00:00.0 missing set_resources
Eliminate that warning by setting set_resources=DEVICE_NOOP.
Change-Id: I4c6c07fd40b180ca44fe67c4a4d07318df10c40f
Signed-off-by: Ben Gardner <gardner.ben@gmail.com>
Reviewed-on: https://review.coreboot.org/14366
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
-rw-r--r-- | src/soc/intel/fsp_baytrail/northcluster.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/fsp_baytrail/northcluster.c b/src/soc/intel/fsp_baytrail/northcluster.c index 5b6866640f..bf1a3881b0 100644 --- a/src/soc/intel/fsp_baytrail/northcluster.c +++ b/src/soc/intel/fsp_baytrail/northcluster.c @@ -198,7 +198,7 @@ static void nc_enable(device_t dev) static struct device_operations nc_ops = { .read_resources = nc_read_resources, .acpi_fill_ssdt_generator = generate_cpu_entries, - .set_resources = NULL, + .set_resources = DEVICE_NOOP, .enable_resources = NULL, .init = NULL, .enable = &nc_enable, |