iio: mxs-lradc: Fix 'duplicate const' warning
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 6 Feb 2013 02:54:00 +0000 (02:54 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sat, 9 Feb 2013 10:52:31 +0000 (10:52 +0000)
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 <fabio.estevam@freescale.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/adc/mxs-lradc.c

index b1b8c42a1c2ace4c2b0d2b4f522a3d6804d84c30..f5fb0df40c8e9be15b8a28abc7a999f9020a0069 100644 (file)
@@ -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,