UPSTREAM: 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.

BUG=none
BRANCH=none
TEST=none

Change-Id: I7f4de5de4bc3919de2a7236bf0dc8c41841634bf
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 2abbbf1503
Original-Change-Id: I1288871769014f4c4168da00952a1c563015de33
Original-Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Original-Reviewed-on: https://review.coreboot.org/19580
Original-Reviewed-by: Furquan Shaikh <furquan@google.com>
Original-Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-on: https://chromium-review.googlesource.com/498348
This commit is contained in:
Aaron Durbin 2017-05-04 22:26:44 -05:00 committed by chrome-bot
commit 37dd6f2705

View file

@ -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)
{