From c5f7c0d35c552cbaf1f0630a9731a04f7fe03948 Mon Sep 17 00:00:00 2001 From: Daniel Lezcano Date: Tue, 11 Aug 2026 11:49:35 +0200 Subject: [PATCH] thermal/drivers/qcom/spm mbg tm: Fix missing bitfield header Add missing bitfield header leading to the error: >> drivers/thermal/qcom/qcom-spmi-mbg-tm.c:184:21: error: implicit declaration of function 'FIELD_GET' [-Wimplicit-function-declaration] 184 | if (FIELD_GET(MON_FAULT_STATUS_MASK, val) == MON_FAULT_LVL1_UPR) | ^~~~~~~~~ Fixes: c3dce117333c ("thermal/drivers/qcom: Add support for Qualcomm MBG thermal monitoring") Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202608080800.RfxKb9uR-lkp@intel.com/ Signed-off-by: Daniel Lezcano Reviewed-by: Dmitry Baryshkov Link: https://patch.msgid.link/20260811094935.2941313-1-daniel.lezcano@kernel.org --- drivers/thermal/qcom/qcom-spmi-mbg-tm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/qcom/qcom-spmi-mbg-tm.c b/drivers/thermal/qcom/qcom-spmi-mbg-tm.c index fa2f10002253..0492d5eeca01 100644 --- a/drivers/thermal/qcom/qcom-spmi-mbg-tm.c +++ b/drivers/thermal/qcom/qcom-spmi-mbg-tm.c @@ -2,7 +2,7 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. */ - +#include #include #include #include