linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Neil Armstrong <neil.armstrong@linaro.org>
Cc: oe-kbuild-all@lists.linux.dev,
	Linux Memory Management List <linux-mm@kvack.org>,
	Douglas Anderson <dianders@chromium.org>
Subject: [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: Fri, 6 Sep 2024 19:05:19 +0800	[thread overview]
Message-ID: <202409061909.YZYMDyw6-lkp@intel.com> (raw)

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@intel.com/config)
compiler: hppa-linux-gcc (GCC) 14.1.0
reproduce: (https://download.01.org/0day-ci/archive/20240906/202409061909.YZYMDyw6-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202409061909.YZYMDyw6-lkp@intel.com/

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


                 reply	other threads:[~2024-09-06 11:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202409061909.YZYMDyw6-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=dianders@chromium.org \
    --cc=linux-mm@kvack.org \
    --cc=neil.armstrong@linaro.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox