Commit 89aba575 authored by Jonathan Cameron's avatar Jonathan Cameron

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: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Liam Beguin <liambeguin@gmail.com>
Reviewed-by: default avatarLiam Beguin <liambeguin@gmail.com>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20220807145457.646062-2-jic23@kernel.org
parent becbe550
......@@ -29,7 +29,7 @@ struct rescale_tc_data {
const char *expected_off;
};
const struct rescale_tc_data scale_cases[] = {
static const struct rescale_tc_data scale_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
*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment