Message ID | CAPgLHd_EgofJ+x4EdB-E4Fx8wm9Z5e7cyvde044SiXS0X-OBzg@mail.gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 03/22/2013 05:17 AM, Wei Yongjun wrote: > From: Wei Yongjun <yongjun_wei@trendmicro.com.cn> > > 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> > --- > drivers/media/usb/dvb-usb-v2/dvb_usb_urb.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/media/usb/dvb-usb-v2/dvb_usb_urb.c b/drivers/media/usb/dvb-usb-v2/dvb_usb_urb.c > index 74c911f..aa0c35e 100644 > --- a/drivers/media/usb/dvb-usb-v2/dvb_usb_urb.c > +++ b/drivers/media/usb/dvb-usb-v2/dvb_usb_urb.c > @@ -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; >
diff --git a/drivers/media/usb/dvb-usb-v2/dvb_usb_urb.c b/drivers/media/usb/dvb-usb-v2/dvb_usb_urb.c index 74c911f..aa0c35e 100644 --- a/drivers/media/usb/dvb-usb-v2/dvb_usb_urb.c +++ b/drivers/media/usb/dvb-usb-v2/dvb_usb_urb.c @@ -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;