From 2abbbf15037bd4b1cd8323aa6cce21b148acc8c0 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Thu, 4 May 2017 22:26:44 -0500 Subject: drivers/intel/wifi: provide weak get_wifi_sar_limits() Provide a failing get_wifi_sar_limits() to allow SAR Kconfig options to be selected without relying on CHROMEOS which currently has the only code to provide SAR data. Change-Id: I1288871769014f4c4168da00952a1c563015de33 Signed-off-by: Aaron Durbin Reviewed-on: https://review.coreboot.org/19580 Reviewed-by: Furquan Shaikh Tested-by: build bot (Jenkins) --- src/drivers/intel/wifi/wifi.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/drivers/intel/wifi') diff --git a/src/drivers/intel/wifi/wifi.c b/src/drivers/intel/wifi/wifi.c index 06bc54c788..15cb2c1a89 100644 --- a/src/drivers/intel/wifi/wifi.c +++ b/src/drivers/intel/wifi/wifi.c @@ -59,6 +59,12 @@ static int smbios_write_wifi(struct device *dev, int *handle, } #endif +__attribute__((weak)) +int get_wifi_sar_limits(struct wifi_sar_limits *sar_limits) +{ + return -1; +} + #if IS_ENABLED(CONFIG_HAVE_ACPI_TABLES) static void emit_sar_acpi_structures(void) { -- cgit v1.2.3