linux-next/include/linux/regulator
Douglas Anderson 1a5caec7f8
regulator: core: Stub devm_regulator_bulk_get_const() if !CONFIG_REGULATOR
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>
2024-08-30 15:43:52 +01:00
..
act8865.h
arizona-ldo1.h
arizona-micsupp.h
consumer.h regulator: core: Stub devm_regulator_bulk_get_const() if !CONFIG_REGULATOR 2024-08-30 15:43:52 +01:00
coupler.h
da9121.h
da9211.h
db8500-prcmu.h regulator: db8500-prcmu: Remove unused declaration power_state_active_is_enabled() 2023-08-18 13:58:05 +01:00
driver.h regulator: pickable ranges: don't always cache vsel 2024-05-20 18:40:39 +01:00
fan53555.h
fixed.h
gpio-regulator.h
lp872x.h
lp3971.h
lp3972.h
machine.h regulator: Implement uv_survival_time for handling under-voltage events 2023-11-13 01:26:28 +00:00
max1586.h
max8649.h
max8660.h
max8952.h
max8973-regulator.h regulator: max8973: Finalize switch to GPIO descriptors 2024-02-26 13:46:33 +00:00
mt6311.h
mt6315-regulator.h
mt6323-regulator.h
mt6331-regulator.h
mt6332-regulator.h
mt6357-regulator.h
mt6358-regulator.h regulator: mt6358: Add missing regulators for MT6366 2023-10-02 19:43:49 +01:00
mt6359-regulator.h
mt6380-regulator.h
mt6397-regulator.h
of_regulator.h
pca9450.h regulator: pca9450: add pca9451a support 2024-03-25 00:48:35 +00:00
pfuze100.h
tps6507x.h
tps51632-regulator.h
tps62360.h
userspace-consumer.h