From: Hoegeun Kwon Date: Mon, 7 Jan 2019 02:18:02 +0000 (+0900) Subject: iio: adc: nexell_adc: Fix duplicate ‘const’ declaration specifier build warning X-Git-Tag: submit/tizen/20190129.052023~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d03795bfdb0eb2be59e62c82be8771afcf93ab80;p=profile%2Fcommon%2Fplatform%2Fkernel%2Flinux-artik7.git iio: adc: nexell_adc: Fix duplicate ‘const’ declaration specifier build warning 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 --- diff --git a/drivers/iio/adc/nexell_adc.c b/drivers/iio/adc/nexell_adc.c index 82a551b5521c..d39fb5f62f4c 100644 --- a/drivers/iio/adc/nexell_adc.c +++ b/drivers/iio/adc/nexell_adc.c @@ -355,7 +355,7 @@ static int nexell_adc_v2_read_val(struct iio_dev *indio_dev, 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,