summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2014-01-14 23:49:23 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-01-15 09:11:47 -0200
commit793708fffffad737d8b0113e41f0d14a38e8765e (patch)
tree3fb18a99542fe375201e35ec381ceec59a5a4c02 /drivers/media
parentb464f6b68e62d1664c34c8655cc3df192799338c (diff)
downloadlwn-793708fffffad737d8b0113e41f0d14a38e8765e.tar.gz
lwn-793708fffffad737d8b0113e41f0d14a38e8765e.zip
[media] au0828: Fix sparse non static symbol warning
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>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/usb/au0828/au0828-dvb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/au0828/au0828-dvb.c b/drivers/media/usb/au0828/au0828-dvb.c
index 19fe049aeb5e..4ae8b1074649 100644
--- a/drivers/media/usb/au0828/au0828-dvb.c
+++ b/drivers/media/usb/au0828/au0828-dvb.c
@@ -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");