From 0b2e5e8e47f34a95eb3526ec3630879b97032d58 Mon Sep 17 00:00:00 2001 From: Visweswara Tanuku Date: Mon, 18 Mar 2019 14:39:54 +0530 Subject: [PATCH] qcacld-3.0: Add config option for Thermal Throttling Add driver config option for FW_THERMAL_THROTTLE_SUPPORT Change-Id: I17fc8062cb18ed828578f97a1b24908f68e3a8cf CRs-Fixed: 2419919 --- Kbuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Kbuild b/Kbuild index 6bde8c9c35b5..2cf557b10354 100644 --- a/Kbuild +++ b/Kbuild @@ -2657,6 +2657,10 @@ ccflags-y += -DQDF_LOCK_STATS_LIST=1 ccflags-y += -DQDF_LOCK_STATS_LIST_SIZE=256 endif +ifdef CONFIG_FW_THERMAL_THROTTLE +ccflags-y += -DFW_THERMAL_THROTTLE_SUPPORT +endif + ccflags-$(CONFIG_HASTINGS_BT_WAR) += -DHASTINGS_BT_WAR KBUILD_CPPFLAGS += $(cppflags-y)