WSL2-Linux-Kernel/drivers/staging/pi433
Arnd Bergmann 99859541a9 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: 874bcba65f ("staging: pi433: New driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-07-28 17:03:19 -07:00
..
Documentation
Kconfig staging: pi433: depends on SPI 2017-07-28 16:55:40 -07:00
Makefile
TODO
pi433_if.c staging: pi433: Style fix - align block comments 2017-07-28 17:03:19 -07:00
pi433_if.h
rf69.c staging: pi433: use div_u64 for 64-bit division 2017-07-28 17:03:19 -07:00
rf69.h
rf69_enum.h
rf69_registers.h staging: pi433: Style fix - align block comments 2017-07-28 17:03:19 -07:00