Commit ad76fda7 authored by Fabio Estevam's avatar Fabio Estevam Committed by Jonathan Cameron

iio: mxs-lradc: Fix 'duplicate const' warning

The following warning is generated by sparse:

drivers/staging/iio/adc/mxs-lradc.c:118:47: warning: duplicate const

Remove the duplicate const.
Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 91ffbabf
......@@ -114,7 +114,7 @@ struct mxs_lradc_of_config {
const char * const *irq_name;
};
static const struct mxs_lradc_of_config const mxs_lradc_of_config[] = {
static const struct mxs_lradc_of_config mxs_lradc_of_config[] = {
[IMX23_LRADC] = {
.irq_count = ARRAY_SIZE(mx23_lradc_irq_names),
.irq_name = mx23_lradc_irq_names,
......
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