From: Jonathan Cameron Date: Fri, 30 Dec 2016 18:25:50 +0000 (+0000) Subject: iio:adc:qcom-spmi-vadc silence a long constant warning. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=292ccbd3c419763f3b1bcd2816f53bd27d14be23;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git iio:adc:qcom-spmi-vadc silence a long constant warning. It is meant to be long and is only added to an s64. Signed-off-by: Jonathan Cameron Cc: Rama Krishna Phani A Signed-off-by: Jonathan Cameron --- diff --git a/drivers/iio/adc/qcom-spmi-vadc.c b/drivers/iio/adc/qcom-spmi-vadc.c index 18eb2955cc21..faaf711325b5 100644 --- a/drivers/iio/adc/qcom-spmi-vadc.c +++ b/drivers/iio/adc/qcom-spmi-vadc.c @@ -101,7 +101,7 @@ #define KELVINMIL_CELSIUSMIL 273150 #define PMI_CHG_SCALE_1 -138890 -#define PMI_CHG_SCALE_2 391750000000 +#define PMI_CHG_SCALE_2 391750000000LL #define VADC_CHAN_MIN VADC_USBIN #define VADC_CHAN_MAX VADC_LR_MUX3_BUF_PU1_PU2_XO_THERM