diff options
author | Douglas Anderson <[email protected]> | 2024-08-30 07:35:12 -0700 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-08-30 15:43:52 +0100 |
commit | 1a5caec7f80ca2e659c03f45378ee26915f4eda2 (patch) | |
tree | 30f98f24a6a7096e91bd0a4c63e0985404b29d15 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 5be63fc19fcaa4c236b307420483578a56986a37 (diff) |
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: 1de452a0edda ("regulator: core: Allow drivers to define their init data as const")
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Cc: Neil Armstrong <[email protected]>
Signed-off-by: Douglas Anderson <[email protected]>
Link: https://patch.msgid.link/20240830073511.1.Ib733229a8a19fad8179213c05e1af01b51e42328@changeid
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions