diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-02-06 02:54:00 +0000 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-02-09 10:52:31 +0000 |
commit | ad76fda78318821fe8823b4b7c587a46a268eecf (patch) | |
tree | 23dd6a4bf018dcb32e00ca8e79db633c744f209c /drivers/staging/iio | |
parent | 91ffbabfd9ae6b9bfef02bb1e0fbba451c7289a7 (diff) | |
download | linux-ad76fda78318821fe8823b4b7c587a46a268eecf.tar.bz2 |
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 <fabio.estevam@freescale.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/staging/iio')
-rw-r--r-- | drivers/staging/iio/adc/mxs-lradc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |