linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Peng Fan <peng.fan@nxp.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-gpio@vger.kernel.org,
	Linus Walleij <linus.walleij@linaro.org>,
	Cristian Marussi <cristian.marussi@arm.com>,
	Dong Aisheng <aisheng.dong@nxp.com>
Subject: [linusw-pinctrl:devel 33/34] drivers/pinctrl/freescale/pinctrl-imx-scmi.c:151:29: error: 'pinctrl_generic_get_group_count' undeclared here (not in a function)
Date: Mon, 17 Jun 2024 23:32:08 +0800	[thread overview]
Message-ID: <202406172317.Sds860AS-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel
head:   fb5e8e47a0e5e960e699e1d65b85618a5572543a
commit: 1e37f761d0163cf99567fb81d9c59860ef255d9d [33/34] pinctrl: imx: support SCMI pinctrl protocol for i.MX95
config: sh-randconfig-r133-20240617 (https://download.01.org/0day-ci/archive/20240617/202406172317.Sds860AS-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20240617/202406172317.Sds860AS-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/202406172317.Sds860AS-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/pinctrl/freescale/pinctrl-imx-scmi.c:151:29: error: 'pinctrl_generic_get_group_count' undeclared here (not in a function)
     151 |         .get_groups_count = pinctrl_generic_get_group_count,
         |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/pinctrl/freescale/pinctrl-imx-scmi.c:152:27: error: 'pinctrl_generic_get_group_name' undeclared here (not in a function)
     152 |         .get_group_name = pinctrl_generic_get_group_name,
         |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/pinctrl/freescale/pinctrl-imx-scmi.c:153:27: error: 'pinctrl_generic_get_group_pins' undeclared here (not in a function); did you mean 'pinctrl_get_group_pins'?
     153 |         .get_group_pins = pinctrl_generic_get_group_pins,
         |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         |                           pinctrl_get_group_pins
>> drivers/pinctrl/freescale/pinctrl-imx-scmi.c:170:32: error: 'pinmux_generic_get_function_count' undeclared here (not in a function); did you mean 'pinmux_generic_free_functions'?
     170 |         .get_functions_count = pinmux_generic_get_function_count,
         |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         |                                pinmux_generic_free_functions
>> drivers/pinctrl/freescale/pinctrl-imx-scmi.c:171:30: error: 'pinmux_generic_get_function_name' undeclared here (not in a function); did you mean 'pinmux_generic_free_functions'?
     171 |         .get_function_name = pinmux_generic_get_function_name,
         |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         |                              pinmux_generic_free_functions
>> drivers/pinctrl/freescale/pinctrl-imx-scmi.c:172:32: error: 'pinmux_generic_get_function_groups' undeclared here (not in a function); did you mean 'pinmux_generic_free_functions'?
     172 |         .get_function_groups = pinmux_generic_get_function_groups,
         |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         |                                pinmux_generic_free_functions


vim +/pinctrl_generic_get_group_count +151 drivers/pinctrl/freescale/pinctrl-imx-scmi.c

   149	
   150	static const struct pinctrl_ops pinctrl_scmi_imx_pinctrl_ops = {
 > 151		.get_groups_count = pinctrl_generic_get_group_count,
 > 152		.get_group_name = pinctrl_generic_get_group_name,
 > 153		.get_group_pins = pinctrl_generic_get_group_pins,
   154		.dt_node_to_map = pinctrl_scmi_imx_dt_node_to_map,
   155		.dt_free_map = pinctrl_scmi_imx_dt_free_map,
   156	};
   157	
   158	static int pinctrl_scmi_imx_func_set_mux(struct pinctrl_dev *pctldev,
   159						 unsigned int selector, unsigned int group)
   160	{
   161		/*
   162		 * For i.MX SCMI PINCTRL , postpone the mux setting
   163		 * until config is set as they can be set together
   164		 * in one IPC call
   165		 */
   166		return 0;
   167	}
   168	
   169	static const struct pinmux_ops pinctrl_scmi_imx_pinmux_ops = {
 > 170		.get_functions_count = pinmux_generic_get_function_count,
 > 171		.get_function_name = pinmux_generic_get_function_name,
 > 172		.get_function_groups = pinmux_generic_get_function_groups,
   173		.set_mux = pinctrl_scmi_imx_func_set_mux,
   174	};
   175	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2024-06-17 15:33 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=202406172317.Sds860AS-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=aisheng.dong@nxp.com \
    --cc=cristian.marussi@arm.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=peng.fan@nxp.com \
    /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;
as well as URLs for NNTP newsgroup(s).