diff options
author | Jonathan Cameron <jic23@kernel.org> | 2016-12-30 18:25:50 +0000 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2017-01-10 19:55:00 +0000 |
commit | 292ccbd3c419763f3b1bcd2816f53bd27d14be23 (patch) | |
tree | 82f1ad62e038a2094a412fd59d9a2ca748041fbe /drivers/iio/adc | |
parent | 2bd72d84f6bc4dcdcc2b5d98881a9da536925b48 (diff) | |
download | op-kernel-dev-292ccbd3c419763f3b1bcd2816f53bd27d14be23.zip op-kernel-dev-292ccbd3c419763f3b1bcd2816f53bd27d14be23.tar.gz |
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 <jic23@kernel.org>
Cc: Rama Krishna Phani A <rphani@codeaurora.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/adc')
-rw-r--r-- | drivers/iio/adc/qcom-spmi-vadc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/adc/qcom-spmi-vadc.c b/drivers/iio/adc/qcom-spmi-vadc.c index 18eb295..faaf711 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 |