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 <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/19580
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Aaron Durbin 2017-05-04 22:26:44 -05:00
parent 57d912bacc
commit 2abbbf1503
1 changed files with 6 additions and 0 deletions

View File

@ -59,6 +59,12 @@ static int smbios_write_wifi(struct device *dev, int *handle,
} }
#endif #endif
__attribute__((weak))
int get_wifi_sar_limits(struct wifi_sar_limits *sar_limits)
{
return -1;
}
#if IS_ENABLED(CONFIG_HAVE_ACPI_TABLES) #if IS_ENABLED(CONFIG_HAVE_ACPI_TABLES)
static void emit_sar_acpi_structures(void) static void emit_sar_acpi_structures(void)
{ {