diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-27 13:05:59 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-27 16:12:58 -0400 |
commit | 64592d0c308620accd5eaff4d8daf02bb1b9a1c7 (patch) | |
tree | 9c220240ba8d400b93b79a819510a5b8a71d5f67 /drivers/media/usb/dvb-usb | |
parent | fb1546e0376d6274cc2895a492d316679d409410 (diff) |
[media] az6027: get rid of warning: no previous prototype
drivers/media/usb/dvb-usb/az6027.c:1054:5: warning: no previous prototype for 'az6027_identify_state' [-Wmissing-prototypes]
drivers/media/usb/dvb-usb/az6027.c:301:5: warning: no previous prototype for 'az6027_usb_in_op' [-Wmissing-prototypes]
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/dvb-usb')
-rw-r--r-- | drivers/media/usb/dvb-usb/az6027.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/media/usb/dvb-usb/az6027.c b/drivers/media/usb/dvb-usb/az6027.c index 5e45ae605427..91e0119e8a87 100644 --- a/drivers/media/usb/dvb-usb/az6027.c +++ b/drivers/media/usb/dvb-usb/az6027.c | |||
@@ -298,7 +298,8 @@ struct stb6100_config az6027_stb6100_config = { | |||
298 | 298 | ||
299 | 299 | ||
300 | /* check for mutex FIXME */ | 300 | /* check for mutex FIXME */ |
301 | int az6027_usb_in_op(struct dvb_usb_device *d, u8 req, u16 value, u16 index, u8 *b, int blen) | 301 | static int az6027_usb_in_op(struct dvb_usb_device *d, u8 req, |
302 | u16 value, u16 index, u8 *b, int blen) | ||
302 | { | 303 | { |
303 | int ret = -1; | 304 | int ret = -1; |
304 | if (mutex_lock_interruptible(&d->usb_mutex)) | 305 | if (mutex_lock_interruptible(&d->usb_mutex)) |
@@ -1051,10 +1052,10 @@ static struct i2c_algorithm az6027_i2c_algo = { | |||
1051 | .functionality = az6027_i2c_func, | 1052 | .functionality = az6027_i2c_func, |
1052 | }; | 1053 | }; |
1053 | 1054 | ||
1054 | int az6027_identify_state(struct usb_device *udev, | 1055 | static int az6027_identify_state(struct usb_device *udev, |
1055 | struct dvb_usb_device_properties *props, | 1056 | struct dvb_usb_device_properties *props, |
1056 | struct dvb_usb_device_description **desc, | 1057 | struct dvb_usb_device_description **desc, |
1057 | int *cold) | 1058 | int *cold) |
1058 | { | 1059 | { |
1059 | u8 *b; | 1060 | u8 *b; |
1060 | s16 ret; | 1061 | s16 ret; |