aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-02-17 18:11:06 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-02-26 13:10:59 -0500
commit2ed3f0c625faaace7a4dcfbb4e11baa17d993c5f (patch)
tree0f96e32f512e146cd55197337c287878da5c3a03 /drivers
parent5f0e1cff5d19935bef1a6a2cdbd7f39b92031726 (diff)
V4L/DVB: az6027: IR RC keys are using the old struct with 3 parameters, instead of 2
drivers/media/dvb/dvb-usb/az6027.c:390: warning: excess elements in struct initializer drivers/media/dvb/dvb-usb/az6027.c:390: warning: (near initialization for ‘az6027_rc_keys[0]’) drivers/media/dvb/dvb-usb/az6027.c:391: warning: excess elements in struct initializer drivers/media/dvb/dvb-usb/az6027.c:391: warning: (near initialization for ‘az6027_rc_keys[1]’) CC: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/dvb/dvb-usb/az6027.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/dvb-usb/az6027.c b/drivers/media/dvb/dvb-usb/az6027.c
index 30fd046d9d0d..e8d5d0508cb0 100644
--- a/drivers/media/dvb/dvb-usb/az6027.c
+++ b/drivers/media/dvb/dvb-usb/az6027.c
@@ -387,8 +387,8 @@ static int az6027_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)
387 387
388/* keys for the enclosed remote control */ 388/* keys for the enclosed remote control */
389static struct dvb_usb_rc_key az6027_rc_keys[] = { 389static struct dvb_usb_rc_key az6027_rc_keys[] = {
390 { 0x00, 0x01, KEY_1 }, 390 { 0x0001, KEY_1 },
391 { 0x00, 0x02, KEY_2 }, 391 { 0x0002, KEY_2 },
392}; 392};
393 393
394/* remote control stuff (does not work with my box) */ 394/* remote control stuff (does not work with my box) */