Skip to content

Commit

Permalink
[media] au0828: Fix sparse non static symbol warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wei Yongjun authored and Mauro Carvalho Chehab committed Jan 15, 2014
1 parent b464f6b commit 793708f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/usb/au0828/au0828-dvb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down

0 comments on commit 793708f

Please sign in to comment.