Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 004123f3 authored by Colin Ian King's avatar Colin Ian King Committed by Jonathan Cameron
Browse files

iio: adc: stm32: make array stm32h7_adc_ckmodes_spec static



The array stm32h7_adc_ckmodes_spec does not need to be in global scope, so
make it static.

Cleans up sparse warning:
"symbol 'stm32h7_adc_ckmodes_spec' was not declared. Should it be static?"

Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Acked-by: default avatarFabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 6be72b90
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -172,7 +172,7 @@ struct stm32h7_adc_ck_spec {
	int div;
};

const struct stm32h7_adc_ck_spec stm32h7_adc_ckmodes_spec[] = {
static const struct stm32h7_adc_ck_spec stm32h7_adc_ckmodes_spec[] = {
	/* 00: CK_ADC[1..3]: Asynchronous clock modes */
	{ 0, 0, 1 },
	{ 0, 1, 2 },