From: Fabio Estevam Date: Wed, 6 Feb 2013 02:54:00 +0000 (+0000) Subject: iio: mxs-lradc: Fix 'duplicate const' warning X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ad76fda78318821fe8823b4b7c587a46a268eecf;p=linux-beck.git 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: Fabio Estevam Signed-off-by: Jonathan Cameron --- diff --git a/drivers/staging/iio/adc/mxs-lradc.c b/drivers/staging/iio/adc/mxs-lradc.c index b1b8c42a1c2a..f5fb0df40c8e 100644 --- a/drivers/staging/iio/adc/mxs-lradc.c +++ b/drivers/staging/iio/adc/mxs-lradc.c @@ -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,