[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160823170054.GA3859@sudip-laptop>
Date: Tue, 23 Aug 2016 22:30:54 +0530
From: Sudip Mukherjee <sudipm.mukherjee@...il.com>
To: Wei Yongjun <weiyj.lk@...il.com>
Cc: Ian Abbott <abbotti@....co.uk>,
H Hartley Sweeten <hsweeten@...ionengravers.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
devel@...verdev.osuosl.org, Wei Yongjun <weiyongjun1@...wei.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] staging: comedi: dt2811: fix non static symbol
warnings
On Tue, Aug 23, 2016 at 03:02:21PM +0000, Wei Yongjun wrote:
> From: Wei Yongjun <weiyongjun1@...wei.com>
>
<snip>
> drivers/staging/comedi/drivers/dt2811.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/comedi/drivers/dt2811.c b/drivers/staging/comedi/drivers/dt2811.c
> index 8bbd938..fcd8547 100644
> --- a/drivers/staging/comedi/drivers/dt2811.c
> +++ b/drivers/staging/comedi/drivers/dt2811.c
> @@ -96,11 +96,11 @@
> * 6 6 100 kHz 6 1000000
> * 7 12 50 kHz 7 10000000
> */
> -const unsigned int dt2811_clk_dividers[] = {
> +static const unsigned int dt2811_clk_dividers[] = {
> 1, 10, 2, 3, 4, 5, 6, 12
> };
>
> -const unsigned int dt2811_clk_multipliers[] = {
> +static const unsigned int dt2811_clk_multipliers[] = {
> 1, 10, 100, 1000, 10000, 100000, 1000000, 10000000
> };
This has already been done by:
49c9d6ad68ae ("staging: comedi/drivers: Fixed sparse warnings")
regards
sudip
>
>
>
>
> _______________________________________________
> devel mailing list
> devel@...uxdriverproject.org
> http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
Powered by blists - more mailing lists