]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iio: adc: at91_adc: make at91_adc_caps const
authorDavid Lechner <dlechner@baylibre.com>
Sat, 28 Jun 2025 16:19:36 +0000 (11:19 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 6 Jul 2025 09:37:52 +0000 (10:37 +0100)
commit1ca58056bc2a0038ed6f021f3364936eeaf0c921
treecbdfccdc3ce0422aecfea524c97668f7a2800944
parent89c3d59a9252afa80fa2211fcc598fca24ee63fc
iio: adc: at91_adc: make at91_adc_caps const

Add const qualifier to struct at91_adc_caps at91sam*_caps. This is
read-only data so it can be made const.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20250628-iio-const-data-6-v1-1-fbb1ca5edc8d@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/at91_adc.c