linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [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)
@ 2024-06-17 15:32 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-06-17 15:32 UTC (permalink / raw)
  To: Peng Fan
  Cc: oe-kbuild-all, linux-gpio, Linus Walleij, Cristian Marussi,
	Dong Aisheng

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-06-17 15:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-17 15:32 [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) kernel test robot

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).