soc/intel: Fix ACPI device operations initialization
Initialize ACPI device operations only when CONFIG_HAVE_ACPI_TABLES is enabled. BUG=None TEST=Build Test Change-Id: I5c5266885d8b08338d17a87bb95110765882120e Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38309 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
		
				
					committed by
					
						 Patrick Rudolph
						Patrick Rudolph
					
				
			
			
				
	
			
			
			
						parent
						
							b71fb5282e
						
					
				
				
					commit
					0e971e11a0
				
			| @@ -156,7 +156,9 @@ static struct device_operations cpu_bus_ops = { | ||||
| 	.set_resources    = DEVICE_NOOP, | ||||
| 	.enable_resources = DEVICE_NOOP, | ||||
| 	.init             = DEVICE_NOOP, | ||||
| #if CONFIG(HAVE_ACPI_TABLES) | ||||
| 	.acpi_fill_ssdt_generator = generate_cpu_entries, | ||||
| #endif | ||||
| }; | ||||
|  | ||||
| static void soc_enable(struct device *dev) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user