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 Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux