atomisp: fix __udiv warning
authorAlan Cox <alan@linux.intel.com>
Mon, 6 Mar 2017 11:48:30 +0000 (11:48 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Mar 2017 12:22:35 +0000 (13:22 +0100)
commit91b0faa50cc12b343a6e728a90f03517d9dc6740
treeadfde8589c4f77d7610266842b5f8c288c7496cb
parent34ff6c2fe366f389dbe45badb5d100bd3aa02bea
atomisp: fix __udiv warning

Certain combinations of compiler and compiler options product an imx.o that
calls compiler helpers for a u64 divide. Use the do_div() call instead.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/atomisp/i2c/imx/imx.c