]> git.baikalelectronics.ru Git - kernel.git/commit
[media] fc2580: use macro for 64 bit division and reminder
authorGianluca Gennari <gennarone@gmail.com>
Mon, 24 Sep 2012 10:37:18 +0000 (07:37 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 1 Oct 2012 20:07:06 +0000 (17:07 -0300)
commitab3b632c220d17b6f61d62749e282016fe08dcd1
tree93630c7c7db1adfee98d04ec0bc36381a1e57781
parentb03a9b4c870690c8b0096b7c9bd9039ae5fd35d3
[media] fc2580: use macro for 64 bit division and reminder

Fixes the following warnings on a 32 bit system with GCC 4.4.3 and kernel Ubuntu 2.6.32-43 32 bit:
WARNING: "__udivdi3" [fc2580.ko] undefined!
WARNING: "__umoddi3" [fc2580.ko] undefined!

Signed-off-by: Gianluca Gennari <gennarone@gmail.com>
Reviewed-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/tuners/fc2580.c