From: Wei Yongjun Date: Wed, 15 Jan 2014 02:49:23 +0000 (-0300) Subject: [media] au0828: Fix sparse non static symbol warning X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=793708fffffad737d8b0113e41f0d14a38e8765e;p=openwrt%2Fstaging%2Fblogic.git [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 Signed-off-by: Mauro Carvalho Chehab --- 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");