Files
linux-stable-mirror/include/linux
Douglas Anderson 06eab37e45 regulator: core: Stub devm_regulator_bulk_get_const() if !CONFIG_REGULATOR
[ Upstream commit 1a5caec7f8 ]

When adding devm_regulator_bulk_get_const() I missed adding a stub for
when CONFIG_REGULATOR is not enabled. Under certain conditions (like
randconfig testing) this can cause the compiler to reports errors
like:

  error: implicit declaration of function 'devm_regulator_bulk_get_const';
  did you mean 'devm_regulator_bulk_get_enable'?

Add the stub.

Fixes: 1de452a0ed ("regulator: core: Allow drivers to define their init data as const")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202408301813.TesFuSbh-lkp@intel.com/
Cc: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://patch.msgid.link/20240830073511.1.Ib733229a8a19fad8179213c05e1af01b51e42328@changeid
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-09-12 11:10:21 +02:00
..
2023-07-19 16:21:11 +02:00
2024-06-12 11:03:08 +02:00
2024-07-05 09:31:59 +02:00
2023-12-20 17:00:20 +01:00
2024-03-26 18:21:02 -04:00
2024-01-10 17:10:30 +01:00
2024-05-25 16:21:31 +02:00
2023-05-30 14:03:22 +01:00
2023-11-20 11:51:55 +01:00
2024-04-03 15:19:34 +02:00
2024-06-12 11:03:21 +02:00
2023-11-28 17:07:03 +00:00
2023-10-19 23:08:50 +02:00
2023-10-19 23:08:50 +02:00
2023-07-19 16:21:54 +02:00
2024-08-29 17:30:28 +02:00
2023-12-13 18:39:08 +01:00
2023-08-16 18:27:20 +02:00