diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-07-28 15:23:12 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-28 17:03:19 -0700 |
commit | 99859541a92de570eb624c2488754d2406375c74 (patch) | |
tree | 84e3e4b1a98668bfb03399c6b1b6316ba83e69c8 /drivers/iio/trigger/stm32-timer-trigger.c | |
parent | 056eeda2f9e637a7389e5fb4f330e40d3b301389 (diff) | |
download | linux-99859541a92de570eb624c2488754d2406375c74.tar.gz linux-99859541a92de570eb624c2488754d2406375c74.tar.bz2 linux-99859541a92de570eb624c2488754d2406375c74.zip |
staging: pi433: use div_u64 for 64-bit division
I ran into this link error on an ARM OABI build:
drivers/staging/pi433/rf69.o: In function `rf69_set_frequency':
rf69.c:(.text+0xc9c): undefined reference to `__udivdi3'
No idea why I didn't see it with the default EABI configurations,
but the right solution here seems to be to use div_u64()
to get the external division implementation.
Fixes: 874bcba65f9a ("staging: pi433: New driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions