Files
linux-stable-mirror/include/linux
Douglas AndersonandGreg Kroah-Hartman c5e236744d 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:11:32 +02:00
..
2024-06-12 11:12:49 +02:00
2024-07-25 09:50:47 +02:00
2023-09-11 15:24:16 -07:00
2024-06-12 11:11:38 +02:00
2024-05-25 16:22:55 +02:00
2024-06-21 14:38:15 +02:00
2024-07-05 09:34:04 +02:00
2024-03-26 18:20:13 -04:00
2024-08-29 17:33:31 +02:00
2024-06-16 13:47:41 +02:00
2024-06-12 11:12:52 +02:00
2024-04-03 15:28:29 +02:00
2024-08-11 12:47:15 +02:00
2023-09-29 17:20:46 -07:00
2024-06-12 11:11:56 +02:00
2023-10-06 11:01:23 +02:00
2023-10-06 11:01:23 +02:00
2024-05-17 12:01:59 +02:00
2024-08-29 17:33:23 +02:00
2023-11-28 17:19:38 +00:00
2024-01-31 16:18:47 -08:00