From: Ying Sun <[email protected]>
The definition of the configuration option "MTK_DVFSRC" cannot be found,
so that the configuration option "REGULATOR_MTK_DVFSRC"
that depends on it cannot be enabled.
Suggested-by: Yanjie Ren <[email protected]>
Signed-off-by: Ying Sun <[email protected]>
---
drivers/regulator/Kconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index 965d4f0c18a6..80560e3a13f7 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -906,7 +906,6 @@ config REGULATOR_MT6397
config REGULATOR_MTK_DVFSRC
tristate "MediaTek DVFSRC regulator driver"
- depends on MTK_DVFSRC
help
Say y here to control regulator by DVFSRC (dynamic voltage
and frequency scaling resource collector).
--
2.17.1
Hi,
kernel test robot noticed the following build errors:
[auto build test ERROR on broonie-regulator/for-next]
[also build test ERROR on linus/master v6.6-rc1 next-20230912]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/sunying-nj-iscas-ac-cn/regulator-mtk-dvfsrc-remove-non-existent-configuration-dependency-MTK_DVFSRC/20230912-101109
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
patch link: https://lore.kernel.org/r/20230912013929.658-1-sunying%40nj.iscas.ac.cn
patch subject: [PATCH] regulator: mtk-dvfsrc: remove non-existent configuration dependency "MTK_DVFSRC"
config: arm-randconfig-r024-20230912 (https://download.01.org/0day-ci/archive/20230912/[email protected]/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230912/[email protected]/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All errors (new ones prefixed by >>):
>> drivers/regulator/mtk-dvfsrc-regulator.c:9:10: fatal error: 'linux/of_.h' file not found
#include <linux/of_.h>
^~~~~~~~~~~~~
1 error generated.
vim +9 drivers/regulator/mtk-dvfsrc-regulator.c
a0db6b0aa670ba henryc.chen 2020-12-24 4
a0db6b0aa670ba henryc.chen 2020-12-24 5 #include <linux/err.h>
a0db6b0aa670ba henryc.chen 2020-12-24 6 #include <linux/init.h>
a0db6b0aa670ba henryc.chen 2020-12-24 7 #include <linux/module.h>
a0db6b0aa670ba henryc.chen 2020-12-24 8 #include <linux/platform_device.h>
045a44d4c9b325 Rob Herring 2023-07-14 @9 #include <linux/of_.h>
a0db6b0aa670ba henryc.chen 2020-12-24 10 #include <linux/regulator/driver.h>
a0db6b0aa670ba henryc.chen 2020-12-24 11 #include <linux/regulator/of_regulator.h>
a0db6b0aa670ba henryc.chen 2020-12-24 12 #include <linux/soc/mediatek/mtk_dvfsrc.h>
a0db6b0aa670ba henryc.chen 2020-12-24 13
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Hi,
kernel test robot noticed the following build errors:
[auto build test ERROR on broonie-regulator/for-next]
[also build test ERROR on linus/master v6.6-rc1 next-20230912]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/sunying-nj-iscas-ac-cn/regulator-mtk-dvfsrc-remove-non-existent-configuration-dependency-MTK_DVFSRC/20230912-101109
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
patch link: https://lore.kernel.org/r/20230912013929.658-1-sunying%40nj.iscas.ac.cn
patch subject: [PATCH] regulator: mtk-dvfsrc: remove non-existent configuration dependency "MTK_DVFSRC"
config: sparc64-allyesconfig (https://download.01.org/0day-ci/archive/20230913/[email protected]/config)
compiler: sparc64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230913/[email protected]/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All errors (new ones prefixed by >>):
>> drivers/regulator/mtk-dvfsrc-regulator.c:9:10: fatal error: linux/of_.h: No such file or directory
9 | #include <linux/of_.h>
| ^~~~~~~~~~~~~
compilation terminated.
vim +9 drivers/regulator/mtk-dvfsrc-regulator.c
a0db6b0aa670ba henryc.chen 2020-12-24 4
a0db6b0aa670ba henryc.chen 2020-12-24 5 #include <linux/err.h>
a0db6b0aa670ba henryc.chen 2020-12-24 6 #include <linux/init.h>
a0db6b0aa670ba henryc.chen 2020-12-24 7 #include <linux/module.h>
a0db6b0aa670ba henryc.chen 2020-12-24 8 #include <linux/platform_device.h>
045a44d4c9b325 Rob Herring 2023-07-14 @9 #include <linux/of_.h>
a0db6b0aa670ba henryc.chen 2020-12-24 10 #include <linux/regulator/driver.h>
a0db6b0aa670ba henryc.chen 2020-12-24 11 #include <linux/regulator/of_regulator.h>
a0db6b0aa670ba henryc.chen 2020-12-24 12 #include <linux/soc/mediatek/mtk_dvfsrc.h>
a0db6b0aa670ba henryc.chen 2020-12-24 13
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki