linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] [media] dvb_usb_v2: make local function dvb_usb_v2_generic_io() static
@ 2013-03-22  3:17 Wei Yongjun
  2013-03-22 10:39 ` Antti Palosaari
  0 siblings, 1 reply; 2+ messages in thread
From: Wei Yongjun @ 2013-03-22  3:17 UTC (permalink / raw)
  To: crope, mchehab; +Cc: yongjun_wei, linux-media

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>
---
 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;


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] [media] dvb_usb_v2: make local function dvb_usb_v2_generic_io() static
  2013-03-22  3:17 [PATCH -next] [media] dvb_usb_v2: make local function dvb_usb_v2_generic_io() static Wei Yongjun
@ 2013-03-22 10:39 ` Antti Palosaari
  0 siblings, 0 replies; 2+ messages in thread
From: Antti Palosaari @ 2013-03-22 10:39 UTC (permalink / raw)
  To: Wei Yongjun; +Cc: mchehab, yongjun_wei, linux-media

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;
>


-- 
http://palosaari.fi/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-03-22 10:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-22  3:17 [PATCH -next] [media] dvb_usb_v2: make local function dvb_usb_v2_generic_io() static Wei Yongjun
2013-03-22 10:39 ` Antti Palosaari

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).