diff options
author | Antti Palosaari <crope@iki.fi> | 2016-11-06 15:27:16 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-01-31 10:43:40 -0200 |
commit | c2feb9ffce1e29463eedee8bebc30016d533b25f (patch) | |
tree | bcd2ddff6f94666fd67ea04ee22772fc25ccdb71 /drivers/media/dvb-frontends/af9033_priv.h | |
parent | bc85d5e2fa730fd3deb0ccf825dc9af8d237a283 (diff) | |
download | linux-c2feb9ffce1e29463eedee8bebc30016d533b25f.tar.gz linux-c2feb9ffce1e29463eedee8bebc30016d533b25f.tar.bz2 linux-c2feb9ffce1e29463eedee8bebc30016d533b25f.zip |
[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.h | 1 |
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; |