Skip to contentSkip to conversation

Fix V4L/DVB/RC warnings

PATCH New Mauro Carvalho Chehab 1 participant 1 message Dec 27, 2010 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

cover Fix V4L/DVB/RC warnings

There were several warnings at the subsystem, that were catched with gcc version 4.5.1. All of them are fixed on those patches by a trivial patch. So, let's fix them ;)

Now, the only remaining patches are the ones we want to be there:

drivers/staging/lirc/lirc_i2c.c: In function ‘ir_probe’:
drivers/staging/lirc/lirc_i2c.c:431:3: warning: ‘id’ is deprecated (declared at include/linux/i2c.h:356) drivers/staging/lirc/lirc_i2c.c:450:3: warning: ‘id’ is deprecated (declared at include/linux/i2c.h:356) drivers/staging/lirc/lirc_i2c.c:479:9: warning: ‘id’ is deprecated (declared at include/linux/i2c.h:356) drivers/staging/lirc/lirc_zilog.c: In function ‘ir_probe’:
drivers/staging/lirc/lirc_zilog.c:1199:2: warning: ‘id’ is deprecated (declared at include/linux/i2c.h:356) drivers/media/video/cx88/cx88-i2c.c: In function ‘cx88_i2c_init’:
drivers/media/video/cx88/cx88-i2c.c:149:2: warning: ‘id’ is deprecated (declared at include/linux/i2c.h:356) drivers/media/video/cx88/cx88-vp3054-i2c.c: In function ‘vp3054_i2c_probe’:
drivers/media/video/cx88/cx88-vp3054-i2c.c:128:2: warning: ‘id’ is deprecated (declared at include/linux/i2c.h:356)

They are basically caused by lirc_i2c and lirc_zilog, that still needs to use the legacy .id field at the I2C structs. Somebody with those hardware, please fix it.

Thanks,
Mauro

-

Mauro Carvalho Chehab (8):
[media] dmxdev: Fix a compilation warning due to a bad type [media] radio-wl1273: Fix two warnings
[media] lirc_zilog: Fix a warning
[media] dib7000m/dib7000p: Add support for TRANSMISSION_MODE_4K [media] gspca: Fix a warning for using len before filling it [media] stv090x: Fix some compilation warnings
[media] af9013: Fix a compilation warning
[media] streamzap: Fix a compilation warning when compiled builtin

 drivers/media/dvb/dvb-core/dmxdev.c    |    4 ++--
 drivers/media/dvb/frontends/af9013.c   |    2 +-
 drivers/media/dvb/frontends/dib7000m.c |   10 +++++-----
 drivers/media/dvb/frontends/dib7000p.c |   10 +++++-----
 drivers/media/dvb/frontends/stv090x.c  |    6 +++---
 drivers/media/radio/radio-wl1273.c     |    3 +--
 drivers/media/rc/streamzap.c           |    2 +-
 drivers/media/video/gspca/gspca.c      |    2 +-
 drivers/staging/lirc/lirc_zilog.c      |    1 -
 9 files changed, 19 insertions(+), 21 deletions(-)
Signature · 1 line
1.7.3.4