mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 14:14:37 +00:00
staging: comedi/drivers: Fixed sparse warnings
Fixed below sparse warnings in dt2811.c warning: symbol 'dt2811_clk_dividers' was not declared. Should it be static? warning: symbol 'dt2811_clk_multipliers' was not declared. Should it be static? Signed-off-by: Nayeemahmed Badebade <itachi.opsrc@gmail.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
27fa082b33
commit
49c9d6ad68
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue