p54: Use do_div for 64-bit division to fix 32-bit kernels
authorChristian Lamparter <chunkeey@googlemail.com>
Thu, 25 Aug 2011 21:47:35 +0000 (23:47 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 29 Aug 2011 19:25:29 +0000 (15:25 -0400)
commit1cda0fd6096355ad4b0d99b691c2f9ca3198d745
tree5b0e4fbfe3b7e3893b258046a92b2f6066f0ae74
parent397e5d5b93ba99ad3dc56f1e294f487e77d2daa8
p54: Use do_div for 64-bit division to fix 32-bit kernels

Use the do_div macro for 64-bit division. Otherwise, the module will
reference __udivdi3 under 32-bit kernels, which is not allowed in
kernel space.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54/txrx.c