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>
This commit is contained in:
Ben Gardner 2016-04-14 15:21:01 -05:00 committed by Martin Roth
parent 5de5522685
commit 26ac4db383
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ static void nc_enable(device_t dev)
static struct device_operations nc_ops = { static struct device_operations nc_ops = {
.read_resources = nc_read_resources, .read_resources = nc_read_resources,
.acpi_fill_ssdt_generator = generate_cpu_entries, .acpi_fill_ssdt_generator = generate_cpu_entries,
.set_resources = NULL, .set_resources = DEVICE_NOOP,
.enable_resources = NULL, .enable_resources = NULL,
.init = NULL, .init = NULL,
.enable = &nc_enable, .enable = &nc_enable,