mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] regulator: mtk-dvfsrc: remove non-existent configuration dependency "MTK_DVFSRC"
@ 2023-09-12  1:39 sunying
  2023-09-12 12:45 ` kernel test robot
  2023-09-12 21:49 ` kernel test robot
  0 siblings, 2 replies; 3+ messages in thread
From: sunying @ 2023-09-12  1:39 UTC (permalink / raw)
  To: lgirdwood, broonie, linux-kernel; +Cc: pengpeng, renyanjie01, Ying Sun

From: Ying Sun <sunying@nj.iscas.ac.cn>

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 <renyanjie01@gmail.com>
Signed-off-by: Ying Sun <sunying@nj.iscas.ac.cn>
---
 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] regulator: mtk-dvfsrc: remove non-existent configuration dependency "MTK_DVFSRC"
  2023-09-12  1:39 [PATCH] regulator: mtk-dvfsrc: remove non-existent configuration dependency "MTK_DVFSRC" sunying
@ 2023-09-12 12:45 ` kernel test robot
  2023-09-12 21:49 ` kernel test robot
  1 sibling, 0 replies; 3+ messages in thread
From: kernel test robot @ 2023-09-12 12:45 UTC (permalink / raw)
  To: sunying, lgirdwood, broonie, linux-kernel
  Cc: llvm, oe-kbuild-all, pengpeng, renyanjie01, Ying Sun

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/202309122031.17TnEn0X-lkp@intel.com/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/202309122031.17TnEn0X-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202309122031.17TnEn0X-lkp@intel.com/

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] regulator: mtk-dvfsrc: remove non-existent configuration dependency "MTK_DVFSRC"
  2023-09-12  1:39 [PATCH] regulator: mtk-dvfsrc: remove non-existent configuration dependency "MTK_DVFSRC" sunying
  2023-09-12 12:45 ` kernel test robot
@ 2023-09-12 21:49 ` kernel test robot
  1 sibling, 0 replies; 3+ messages in thread
From: kernel test robot @ 2023-09-12 21:49 UTC (permalink / raw)
  To: sunying, lgirdwood, broonie, linux-kernel
  Cc: oe-kbuild-all, pengpeng, renyanjie01, Ying Sun

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/202309130559.z9VcY7Ak-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230913/202309130559.z9VcY7Ak-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202309130559.z9VcY7Ak-lkp@intel.com/

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-09-12 21:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-12  1:39 [PATCH] regulator: mtk-dvfsrc: remove non-existent configuration dependency "MTK_DVFSRC" sunying
2023-09-12 12:45 ` kernel test robot
2023-09-12 21:49 ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®