Re: [PATCH 9/9] misc: add FPC202 dual port controller driver

Luca Ceresoli
2024-11-11T08:57:07Z

On Sun, 10 Nov 2024 04:19:43 +0800
kernel test robot <lkp@intel.com> wrote:

> >> drivers/misc/ti_fpc202.c:270:20: sparse: sparse: symbol 'fpc202_atr_ops' was not declared. Should it be static?

And perhaps 'const' too.

> vim +/fpc202_atr_ops +270 drivers/misc/ti_fpc202.c
>
> 269
> > 270 struct i2c_atr_ops fpc202_atr_ops = {
> 271 .attach_addr = fpc202_attach_addr,
> 272 .detach_addr = fpc202_detach_addr,
> 273 };
> 274
>

Luca

--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering