This patch fixes following build warning caused duplicate declaration:
drivers/iio/adc/nexell_adc.c:358:37: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier]
static const struct nexell_adc_data const nexell_adc_s5p6818_data = {
^~~~~
Change-Id: I5870765ed0700169aac0b5a93beaf79a9110ed58
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
return ret;
}
-static const struct nexell_adc_data const nexell_adc_s5p6818_data = {
+static const struct nexell_adc_data nexell_adc_s5p6818_data = {
.version = 2,
.adc_con = nexell_adc_v2_adc_con,
.read_polling = nexell_adc_v2_read_polling,