Re: [PATCH v2] ths7303: Declare as static a private function

2013-11-07 Thread Prabhakar Lad
Hi Ricardo, Thanks for the patch. On Wed, Nov 6, 2013 at 8:10 PM, Ricardo Ribalda Delgado wrote: > git grep shows that the function is only called from ths7303.c > > Fix this build warning: > > CC drivers/media/i2c/ths7303.o > drivers/media/i2c/ths7303.c:86:5: warning: no previous prototype

Re: [PATCH v2] ths7303: Declare as static a private function

2013-11-06 Thread Laurent Pinchart
Hi Ricardo, Thank you for the patch. On Wednesday 06 November 2013 15:40:18 Ricardo Ribalda Delgado wrote: > git grep shows that the function is only called from ths7303.c > > Fix this build warning: > > CC drivers/media/i2c/ths7303.o > drivers/media/i2c/ths7303.c:86:5: warning: no previou

[PATCH v2] ths7303: Declare as static a private function

2013-11-06 Thread Ricardo Ribalda Delgado
git grep shows that the function is only called from ths7303.c Fix this build warning: CC drivers/media/i2c/ths7303.o drivers/media/i2c/ths7303.c:86:5: warning: no previous prototype for ‘ths7303_setval’ [-Wmissing-prototypes] int ths7303_setval(struct v4l2_subdev *sd, enum ths7303_filt