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:
Родитель
27fa082b33
Коммит
49c9d6ad68
|
@ -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
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче