[linux-next:master 6215/10296] drivers/gpu/drm/panel/panel-boe-tv101wum-ll2.c:173:15: error: implicit declaration of function 'devm_regulator_bulk_get_const'; did you mean 'devm_regulator_bulk_get_enable'?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   9aaeb87ce1e966169a57f53a02ba05b30880ffb8
commit: aec8485f226c36eb4eea1d489772cd6f2c40144d [6215/10296] drm/panel: add BOE tv101wum-ll2 panel driver
config: parisc-randconfig-r123-20240906 (https://download.01.org/0day-ci/archive/20240906/202409061909.YZYMDyw6-lkp@xxxxxxxxx/config)
compiler: hppa-linux-gcc (GCC) 14.1.0
reproduce: (https://download.01.org/0day-ci/archive/20240906/202409061909.YZYMDyw6-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/202409061909.YZYMDyw6-lkp@xxxxxxxxx/

Note: the linux-next/master HEAD 9aaeb87ce1e966169a57f53a02ba05b30880ffb8 builds fine.
      It may have been fixed somewhere.

All errors (new ones prefixed by >>):

   drivers/gpu/drm/panel/panel-boe-tv101wum-ll2.c: In function 'boe_tv101wum_ll2_probe':
>> drivers/gpu/drm/panel/panel-boe-tv101wum-ll2.c:173:15: error: implicit declaration of function 'devm_regulator_bulk_get_const'; did you mean 'devm_regulator_bulk_get_enable'? [-Wimplicit-function-declaration]
     173 |         ret = devm_regulator_bulk_get_const(&dsi->dev,
         |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         |               devm_regulator_bulk_get_enable


vim +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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux