Re: [PATCH 2/2] pinctrl: eyeq5: add platform driver
From: Théo Lebrun
Date: Tue Jul 02 2024 - 11:46:29 EST
Hello,
On Tue Jul 2, 2024 at 12:49 AM CEST, kernel test robot wrote:
> kernel test robot noticed the following build errors:
>
> [auto build test ERROR on f2661062f16b2de5d7b6a5c42a9a5c96326b8454]
>
> url: https://github.com/intel-lab-lkp/linux/commits/Th-o-Lebrun/Revert-dt-bindings-pinctrl-mobileye-eyeq5-pinctrl-add-bindings/20240630-070720
> base: f2661062f16b2de5d7b6a5c42a9a5c96326b8454
> patch link: https://lore.kernel.org/r/20240628-mbly-pinctrl-v1-2-c878192d6b0a%40bootlin.com
> patch subject: [PATCH 2/2] pinctrl: eyeq5: add platform driver
> config: m68k-randconfig-r131-20240701
> compiler: m68k-linux-gcc (GCC) 13.2.0
> 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/202407020641.JqMWvOOu-lkp@xxxxxxxxx/
>
> All errors (new ones prefixed by >>):
>
> m68k-linux-ld: drivers/pinctrl/pinctrl-eyeq5.o: in function `pinconf_generic_dt_node_to_map_pin':
> >> pinctrl-eyeq5.c:(.text+0xe0): undefined reference to `pinconf_generic_dt_node_to_map'
Argh yes, pinconf_generic_dt_node_to_map() requires CONFIG_OF. I'll add
that to the Kconfig entry in the next revision, as a "depends on OF"
similar to other pinctrl driver config options.
Regards,
--
Théo Lebrun, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com