iio: adc: stm32: make array stm32h7_adc_ckmodes_spec static
authorColin Ian King <colin.king@canonical.com>
Wed, 28 Jun 2017 13:06:50 +0000 (14:06 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sun, 2 Jul 2017 09:24:52 +0000 (10:24 +0100)
commit004123f3dfb8bef1458508c1b1f18e56cc1cd336
tree8ca1d7228283b8a3476db95a32042efa193c2b30
parent6be72b9067d443a44065541853edfb92ffca0401
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: Colin Ian King <colin.king@canonical.com>
Acked-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/stm32-adc-core.c