aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/soc/mediatek
diff options
context:
space:
mode:
authorNĂ­colas F. R. A. Prado <nfraprado@collabora.com>2022-08-29 16:44:39 -0400
committerMatthias Brugger <matthias.bgg@gmail.com>2022-08-30 10:56:22 +0200
commit9d0d887ac7e5a32834cda4f305e1875fccaf67ff (patch)
tree074b5ab70eb7d76593915373f8942b86d205678e /drivers/soc/mediatek
parentsoc: mediatek: mtk-svs: Use bitfield access macros where possible (diff)
downloadlinux-dev-9d0d887ac7e5a32834cda4f305e1875fccaf67ff.tar.xz
linux-dev-9d0d887ac7e5a32834cda4f305e1875fccaf67ff.zip
soc: mediatek: mtk-svs: Explicitly include bitfield header
Commit a92438c5a30a ("soc: mediatek: mtk-svs: Use bitfield access macros where possible") introduced the use of FIELD_GET and FIELD_PREP macros, which are defined in the bitfield header. Add an explicit include for it so we're sure to have the symbols defined independently of the config. Fixes: a92438c5a30a ("soc: mediatek: mtk-svs: Use bitfield access macros where possible") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: NĂ­colas F. R. A. Prado <nfraprado@collabora.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20220829204439.3748648-1-nfraprado@collabora.com Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'drivers/soc/mediatek')
-rw-r--r--drivers/soc/mediatek/mtk-svs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soc/mediatek/mtk-svs.c b/drivers/soc/mediatek/mtk-svs.c
index da1a3bfc8633..0469c9dfeb04 100644
--- a/drivers/soc/mediatek/mtk-svs.c
+++ b/drivers/soc/mediatek/mtk-svs.c
@@ -3,6 +3,7 @@
* Copyright (C) 2022 MediaTek Inc.
*/
+#include <linux/bitfield.h>
#include <linux/bits.h>
#include <linux/clk.h>
#include <linux/completion.h>