Skip to content

Commit

Permalink
V4L/DVB: az6027: IR RC keys are using the old struct with 3 parameter…
Browse files Browse the repository at this point in the history
…s, 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>
  • Loading branch information
Mauro Carvalho Chehab committed Feb 26, 2010
1 parent 5f0e1cf commit 2ed3f0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/media/dvb/dvb-usb/az6027.c
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,8 @@ static int az6027_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)

/* keys for the enclosed remote control */
static struct dvb_usb_rc_key az6027_rc_keys[] = {
{ 0x00, 0x01, KEY_1 },
{ 0x00, 0x02, KEY_2 },
{ 0x0001, KEY_1 },
{ 0x0002, KEY_2 },
};

/* remote control stuff (does not work with my box) */
Expand Down

0 comments on commit 2ed3f0c

Please sign in to comment.