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

From: Luca Ceresoli
Date: Mon Nov 11 2024 - 03:57:21 EST


On Sun, 10 Nov 2024 04:19:43 +0800
kernel test robot <lkp@xxxxxxxxx> 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
https://bootlin.com