summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/af9033_priv.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2016-11-06 20:27:16 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-01-31 15:43:40 +0300
commitc2feb9ffce1e29463eedee8bebc30016d533b25f (patch)
treebcd2ddff6f94666fd67ea04ee22772fc25ccdb71 /drivers/media/dvb-frontends/af9033_priv.h
parentbc85d5e2fa730fd3deb0ccf825dc9af8d237a283 (diff)
downloadlinux-c2feb9ffce1e29463eedee8bebc30016d533b25f.tar.xz
[media] af9033: use 64-bit div macro where possible
Replace Booth's binary division algo with 64-bit multiply and division. Fix related IF calculations. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-frontends/af9033_priv.h')
-rw-r--r--drivers/media/dvb-frontends/af9033_priv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/af9033_priv.h b/drivers/media/dvb-frontends/af9033_priv.h
index 701c5085fdd2..28d14dc5ceea 100644
--- a/drivers/media/dvb-frontends/af9033_priv.h
+++ b/drivers/media/dvb-frontends/af9033_priv.h
@@ -26,6 +26,7 @@
#include "af9033.h"
#include <linux/math64.h>
#include <linux/regmap.h>
+#include <linux/kernel.h>
struct reg_val {
u32 reg;