From 26ac4db3836ce07ae36d81c5f120035efa3cd055 Mon Sep 17 00:00:00 2001 From: Ben Gardner Date: Thu, 14 Apr 2016 15:21:01 -0500 Subject: 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 Reviewed-on: https://review.coreboot.org/14366 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth Reviewed-by: Paul Menzel --- src/soc/intel/fsp_baytrail/northcluster.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/soc') 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, -- cgit v1.2.3