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>
This commit is contained in:
parent
91ffbabfd9
commit
ad76fda783
@ -114,7 +114,7 @@ struct mxs_lradc_of_config {
|
|||||||
const char * const *irq_name;
|
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] = {
|
[IMX23_LRADC] = {
|
||||||
.irq_count = ARRAY_SIZE(mx23_lradc_irq_names),
|
.irq_count = ARRAY_SIZE(mx23_lradc_irq_names),
|
||||||
.irq_name = mx23_lradc_irq_names,
|
.irq_name = mx23_lradc_irq_names,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user