ptp_qoriq: use div_u64/div_u64_rem for 64-bit division
authorYangbo Lu <yangbo.lu@nxp.com>
Mon, 6 Aug 2018 04:39:11 +0000 (12:39 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Aug 2018 17:43:35 +0000 (10:43 -0700)
commit74c05a33cb02e75888771bc39e22e438195d6427
tree672c1602803578955d58003e8568e36eb5a095e1
parent9dae34978d83df06fc59aff5cf0d88ce41b80643
ptp_qoriq: use div_u64/div_u64_rem for 64-bit division

This is a fix-up patch for below build issue with multi_v7_defconfig.

drivers/ptp/ptp_qoriq.o: In function `qoriq_ptp_probe':
ptp_qoriq.c:(.text+0xd0c): undefined reference to `__aeabi_uldivmod'

Fixes: 91305f281262 ("ptp_qoriq: support automatic configuration for ptp timer")
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_qoriq.c