On Tue, Dec 31, 2024 at 10:44 AM Manivannan Sadhasivam via B4 Relay <devnull+manivannan.sadhasivam.linaro.org@xxxxxxxxxx> wrote: > > From: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxx> > > Since the definition is in drivers/regulator/of_regulator.c and compiled > only if CONFIG_OF is enabled, building the consumer driver without > CONFIG_OF and with CONFIG_REGULATOR will result in below build error: > > ERROR: modpost: "of_regulator_bulk_get_all" [drivers/pci/pwrctrl/pci-pwrctl-slot.ko] undefined! > > Cc: Liam Girdwood <lgirdwood@xxxxxxxxx> > Cc: Mark Brown <broonie@xxxxxxxxxx> > Reported-by: kernel test robot <lkp@xxxxxxxxx> > Closes: https://lore.kernel.org/oe-kbuild-all/202412181640.12Iufkvd-lkp@xxxxxxxxx/ > Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxx> > --- Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>