diff options
author | NĂcolas F. R. A. Prado <nfraprado@collabora.com> | 2022-08-29 16:44:39 -0400 |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2022-08-30 10:56:22 +0200 |
commit | 9d0d887ac7e5a32834cda4f305e1875fccaf67ff (patch) | |
tree | 074b5ab70eb7d76593915373f8942b86d205678e /drivers/soc/mediatek | |
parent | a92438c5a30a27b6791da025306a45478a6ac7a4 (diff) |
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.c | 1 |
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> |