iio: test: Mark file local structure arrays static.
Warning cleanup: drivers/iio/test/iio-test-rescale.c:32:30: warning: symbol 'scale_cases' was not declared. Should it be static? drivers/iio/test/iio-test-rescale.c:480:30: warning: symbol 'offset_cases' was not declared. Should it be static? Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Cc: Liam Beguin <liambeguin@gmail.com> Reviewed-by: Liam Beguin <liambeguin@gmail.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/20220807145457.646062-2-jic23@kernel.org
This commit is contained in:
parent
becbe550a3
commit
89aba57598
@ -29,7 +29,7 @@ struct rescale_tc_data {
|
|||||||
const char *expected_off;
|
const char *expected_off;
|
||||||
};
|
};
|
||||||
|
|
||||||
const struct rescale_tc_data scale_cases[] = {
|
static const struct rescale_tc_data scale_cases[] = {
|
||||||
/*
|
/*
|
||||||
* Typical use cases
|
* Typical use cases
|
||||||
*/
|
*/
|
||||||
@ -477,7 +477,7 @@ const struct rescale_tc_data scale_cases[] = {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const struct rescale_tc_data offset_cases[] = {
|
static const struct rescale_tc_data offset_cases[] = {
|
||||||
/*
|
/*
|
||||||
* Typical use cases
|
* Typical use cases
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user