diff options
author | Aaron Durbin <adurbin@chromium.org> | 2017-05-04 22:26:44 -0500 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2017-05-08 06:09:56 +0200 |
commit | 2abbbf15037bd4b1cd8323aa6cce21b148acc8c0 (patch) | |
tree | 979ee966eece5509036613956f94e62526d0d15c | |
parent | 57d912baccc05079c96924fbc02f0d096763ec33 (diff) |
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>
-rw-r--r-- | src/drivers/intel/wifi/wifi.c | 6 |
1 files changed, 6 insertions, 0 deletions
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) { |