OSDN Git Service

[media] dvb_usb_v2: make local function dvb_usb_v2_generic_io() static
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 22 Mar 2013 02:17:18 +0000 (23:17 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 22 Mar 2013 16:50:12 +0000 (13:50 -0300)
dvb_usb_v2_generic_io() was not declared. It should be static.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/dvb-usb-v2/dvb_usb_urb.c

index 74c911f..aa0c35e 100644 (file)
@@ -21,7 +21,7 @@
 
 #include "dvb_usb_common.h"
 
-int dvb_usb_v2_generic_io(struct dvb_usb_device *d,
+static int dvb_usb_v2_generic_io(struct dvb_usb_device *d,
                u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen)
 {
        int ret, actual_length;