iio:adc:qcom-spmi-vadc silence a long constant warning.
authorJonathan Cameron <jic23@kernel.org>
Fri, 30 Dec 2016 18:25:50 +0000 (18:25 +0000)
committerJonathan Cameron <jic23@kernel.org>
Tue, 10 Jan 2017 19:55:00 +0000 (19:55 +0000)
It is meant to be long and is only added to an s64.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Cc: Rama Krishna Phani A <rphani@codeaurora.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/qcom-spmi-vadc.c

index 18eb2955cc21750ca8698fc2447e0a289988c70e..faaf711325b524269a716822772858e5a31b8165 100644 (file)
 #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