aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb
diff options
context:
space:
mode:
authorManu Abraham <abraham.manu@gmail.com>2010-02-14 15:07:28 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-02-26 13:11:01 -0500
commit4105ed5df1e16afbbea4c96f8d513bda21248308 (patch)
tree13b381564d2e308a54bcd30a30cc5f7be9e53de0 /drivers/media/dvb
parent32f8aca4affc9cc5699a8e45b3ce08e76d7b847b (diff)
V4L/DVB: AZ6027: Fix build warnings
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]’) drivers/media/dvb/dvb-usb/az6027.c:759: warning: ‘az6027_read_mac_addr’ defined but not used Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r--drivers/media/dvb/dvb-usb/az6027.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/dvb/dvb-usb/az6027.c b/drivers/media/dvb/dvb-usb/az6027.c
index 30fd046d9d0d..d7290b2c0913 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 { 0x01, KEY_1 },
391 { 0x00, 0x02, KEY_2 }, 391 { 0x02, 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) */
@@ -754,13 +754,13 @@ static int az6027_ci_init(struct dvb_usb_adapter *a)
754 return 0; 754 return 0;
755} 755}
756 756
757 757/*
758static int az6027_read_mac_addr(struct dvb_usb_device *d, u8 mac[6]) 758static int az6027_read_mac_addr(struct dvb_usb_device *d, u8 mac[6])
759{ 759{
760 az6027_usb_in_op(d, 0xb7, 6, 0, &mac[0], 6); 760 az6027_usb_in_op(d, 0xb7, 6, 0, &mac[0], 6);
761 return 0; 761 return 0;
762} 762}
763 763*/
764 764
765static int az6027_set_voltage(struct dvb_frontend *fe, fe_sec_voltage_t voltage) 765static int az6027_set_voltage(struct dvb_frontend *fe, fe_sec_voltage_t voltage)
766{ 766{