diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-11-14 23:08:45 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-29 14:53:34 -0500 |
commit | b3d8466fd0e63fd58096f195cbe5ec2444d3fd60 (patch) | |
tree | 79641a623d3070ba757c27e7ef496ba268724074 /drivers/media/dvb/dvb-usb/cinergyT2-core.c | |
parent | 726cf2000b1c0978bbddc6345ddd7f88caf8aa48 (diff) |
V4L/DVB (9636): dvb: cinergyt2 annotate struct endianness, remove unused variable, add static
All noticed by sparse:
drivers/media/dvb/dvb-usb/cinergyT2-core.c:35:5: warning: symbol 'disable_remote' was not declared. Should it be static?
drivers/media/dvb/dvb-usb/cinergyT2-core.c:48:23: warning: symbol 'cinergyt2_usb_device' was not declared. Should it be static?
drivers/media/dvb/dvb-usb/cinergyT2-fe.c:160:15: warning: cast to restricted __le16
drivers/media/dvb/dvb-usb/cinergyT2-fe.c:190:9: warning: cast to restricted __le32
drivers/media/dvb/dvb-usb/cinergyT2-fe.c:208:9: warning: cast to restricted __le32
drivers/media/dvb/dvb-usb/cinergyT2-fe.c:227:24: warning: cast to restricted __le16
drivers/media/dvb/dvb-usb/cinergyT2-fe.c:275:12: warning: incorrect type in assignment (different base types)
drivers/media/dvb/dvb-usb/cinergyT2-fe.c:275:12: expected unsigned short [unsigned] [assigned] [usertype] tps
drivers/media/dvb/dvb-usb/cinergyT2-fe.c:275:12: got restricted __le16 [usertype] <noident>
drivers/media/dvb/dvb-usb/cinergyT2-fe.c:276:13: warning: incorrect type in assignment (different base types)
drivers/media/dvb/dvb-usb/cinergyT2-fe.c:276:13: expected unsigned int [unsigned] [assigned] [usertype] freq
drivers/media/dvb/dvb-usb/cinergyT2-fe.c:276:13: got restricted __le32 [usertype] <noident>
Cc: Thierry Merle <thierry.merle@free.fr>
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/cinergyT2-core.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/cinergyT2-core.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/dvb/dvb-usb/cinergyT2-core.c b/drivers/media/dvb/dvb-usb/cinergyT2-core.c index 3ac9f74e9fbf..80e37a0d0892 100644 --- a/drivers/media/dvb/dvb-usb/cinergyT2-core.c +++ b/drivers/media/dvb/dvb-usb/cinergyT2-core.c | |||
@@ -32,7 +32,6 @@ | |||
32 | 32 | ||
33 | /* debug */ | 33 | /* debug */ |
34 | int dvb_usb_cinergyt2_debug; | 34 | int dvb_usb_cinergyt2_debug; |
35 | int disable_remote; | ||
36 | 35 | ||
37 | module_param_named(debug, dvb_usb_cinergyt2_debug, int, 0644); | 36 | module_param_named(debug, dvb_usb_cinergyt2_debug, int, 0644); |
38 | MODULE_PARM_DESC(debug, "set debugging level (1=info, xfer=2, rc=4 " | 37 | MODULE_PARM_DESC(debug, "set debugging level (1=info, xfer=2, rc=4 " |
@@ -45,7 +44,7 @@ struct cinergyt2_state { | |||
45 | }; | 44 | }; |
46 | 45 | ||
47 | /* We are missing a release hook with usb_device data */ | 46 | /* We are missing a release hook with usb_device data */ |
48 | struct dvb_usb_device *cinergyt2_usb_device; | 47 | static struct dvb_usb_device *cinergyt2_usb_device; |
49 | 48 | ||
50 | static struct dvb_usb_device_properties cinergyt2_properties; | 49 | static struct dvb_usb_device_properties cinergyt2_properties; |
51 | 50 | ||