tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: ecc768a84f0b8e631986f9ade3118fa37852fef0 commit: aec8485f226c36eb4eea1d489772cd6f2c40144d [6300/8400] drm/panel: add BOE tv101wum-ll2 panel driver config: x86_64-randconfig-015-20240903 (https://download.01.org/0day-ci/archive/20240903/202409030542.gKqDuIWa-lkp@xxxxxxxxx/config) compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240903/202409030542.gKqDuIWa-lkp@xxxxxxxxx/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202409030542.gKqDuIWa-lkp@xxxxxxxxx/ Note: the linux-next/master HEAD ecc768a84f0b8e631986f9ade3118fa37852fef0 builds fine. It may have been fixed somewhere. All errors (new ones prefixed by >>): >> drivers/gpu/drm/panel/panel-boe-tv101wum-ll2.c:173:8: error: call to undeclared function 'devm_regulator_bulk_get_const'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 173 | ret = devm_regulator_bulk_get_const(&dsi->dev, | ^ 1 error generated. vim +/devm_regulator_bulk_get_const +173 drivers/gpu/drm/panel/panel-boe-tv101wum-ll2.c 162 163 static int boe_tv101wum_ll2_probe(struct mipi_dsi_device *dsi) 164 { 165 struct device *dev = &dsi->dev; 166 struct boe_tv101wum_ll2 *ctx; 167 int ret; 168 169 ctx = devm_kzalloc(dev, sizeof(*ctx), GFP_KERNEL); 170 if (!ctx) 171 return -ENOMEM; 172 > 173 ret = devm_regulator_bulk_get_const(&dsi->dev, 174 ARRAY_SIZE(boe_tv101wum_ll2_supplies), 175 boe_tv101wum_ll2_supplies, 176 &ctx->supplies); 177 if (ret < 0) 178 return ret; 179 180 ctx->reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_LOW); 181 if (IS_ERR(ctx->reset_gpio)) 182 return dev_err_probe(dev, PTR_ERR(ctx->reset_gpio), 183 "Failed to get reset-gpios\n"); 184 185 ctx->dsi = dsi; 186 mipi_dsi_set_drvdata(dsi, ctx); 187 188 dsi->lanes = 4; 189 dsi->format = MIPI_DSI_FMT_RGB888; 190 dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST | 191 MIPI_DSI_MODE_VIDEO_HSE; 192 193 drm_panel_init(&ctx->panel, dev, &boe_tv101wum_ll2_panel_funcs, 194 DRM_MODE_CONNECTOR_DSI); 195 ctx->panel.prepare_prev_first = true; 196 197 ret = drm_panel_of_backlight(&ctx->panel); 198 if (ret) 199 return dev_err_probe(dev, ret, "Failed to get backlight\n"); 200 201 drm_panel_add(&ctx->panel); 202 203 ret = mipi_dsi_attach(dsi); 204 if (ret < 0) { 205 drm_panel_remove(&ctx->panel); 206 return dev_err_probe(dev, ret, "Failed to attach to DSI host\n"); 207 } 208 209 return 0; 210 } 211 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki