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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux