Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rtc: zynqmp: fix linking failure for ARCH arm
64-bit division "(u64 A) / (u32 B)" will break linking on ARCH arm: rm-linux-gnueabihf-ld: drivers/rtc/rtc-zynqmp.o: in function `xlnx_rtc_read_offset': rtc-zynqmp.c:(.text+0x48): undefined reference to `__aeabi_ldivmod' Fix this by using do_div. Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com>
- Loading branch information