[media] cx25840: Fix compilation for i386 architecture
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 5 Jan 2012 13:02:47 +0000 (11:02 -0200)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 5 Jan 2012 13:06:11 +0000 (11:06 -0200)
commit3308e2b53a6737d28782c89e6d2dd80237fde3e3
tree4a739d146499cb4245439d73a78d1e287f8bdc7c
parent51ada787b89828314f09cb6b2f401c209db88917
[media] cx25840: Fix compilation for i386 architecture

WARNING: "__udivdi3" [/home/v4l/new_build/v4l/cx25840.ko] undefined!

64 bits division need to call do_div & friends, in order to allow
it to compile with 32 bits kernels

Cc: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx25840/cx25840-core.c