Skip to content

Commit

Permalink
iio: mxs-lradc: Fix 'duplicate const' warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fabio Estevam authored and Jonathan Cameron committed Feb 9, 2013
1 parent 91ffbab commit ad76fda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/iio/adc/mxs-lradc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ad76fda

Please sign in to comment.