On Sat, 16 Jan 2010 15:33:45 +0100 Antonio Ospite <ospite@xxxxxxxxxxxxxxxxx> wrote: > > Index: gspca/linux/drivers/media/video/gspca/ov534.c > > =================================================================== > > --- gspca.orig/linux/drivers/media/video/gspca/ov534.c > > +++ gspca/linux/drivers/media/video/gspca/ov534.c > > @@ -282,6 +282,21 @@ > > .priv = 0}, > > }; > > > > +static const int qvga_rates[] = {125, 100, 75, 60, 50, 40, 30}; > > +static const int vga_rates[] = {60, 50, 40, 30, 15}; > > + > > Hmm, after double checking compilation messages, having these as > 'const' produces two: > warning: initialization discards qualifiers from pointer target type > in the assignments below. > > If I remove the 'const' qualifiers here, the messages go away, so I'd > say we can do also without them. If that's ok I'll send a v2 soon, > sorry. Hi Antonio, I recoded your patch with some changes, mainly in gspca.h. If it is OK for you, may you sign it? Best regards. -- Ken ar c'hentañ | ** Breizh ha Linux atav! ** Jef | http://moinejf.free.fr/
Attachment:
patch.pat
Description: Binary data