]> Pileus Git - ~andy/linux/commitdiff
[media] au0828: Fix sparse non static symbol warning
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 15 Jan 2014 02:49:23 +0000 (23:49 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 15 Jan 2014 11:11:47 +0000 (09:11 -0200)
Fixes the following sparse warning:

drivers/media/usb/au0828/au0828-dvb.c:36:5: warning:
 symbol 'preallocate_big_buffers' was not declared. Should it be static?

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/au0828/au0828-dvb.c

index 19fe049aeb5eb8b6c1757e28d5bc4f85678fc887..4ae8b10746496e00d4e0396c896583b6bf0cf084 100644 (file)
@@ -33,7 +33,7 @@
 #include "mxl5007t.h"
 #include "tda18271.h"
 
-int preallocate_big_buffers;
+static int preallocate_big_buffers;
 module_param_named(preallocate_big_buffers, preallocate_big_buffers, int, 0644);
 MODULE_PARM_DESC(preallocate_big_buffers, "Preallocate the larger transfer buffers at module load time");