summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2016-12-30 21:25:49 +0300
committerJonathan Cameron <jic23@kernel.org>2017-01-10 22:54:59 +0300
commit2bd72d84f6bc4dcdcc2b5d98881a9da536925b48 (patch)
tree483356a8e2420fd83cca7f2d51dd9dce2bebcd50 /include/linux
parentc3b2fdd0ea7ee5c01c1f0d572a32aec89c0373a4 (diff)
downloadlinux-2bd72d84f6bc4dcdcc2b5d98881a9da536925b48.tar.xz
iio:adc:qcom-spmi-vadc : fix undefined __divdi3
A simple do_div call works here as all the signed 64 bit is actually small and unsigned at this point, and the numerator is u32. Introduce a temporary u64 variable to avoid type comparison warnings on some architectures. Signed-off-by: Jonathan Cameron <jic23@kernel.org> Reported-by: kbuild test robot <fengguang.wu@intel.com> Cc: Rama Krishna Phani A <rphani@codeaurora.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions