summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/rtl2832_priv.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2014-12-14 10:05:49 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-02-03 16:07:01 -0200
commitf7caf93fb8ed299c1f9a3d2713c8d588c938316e (patch)
tree23b9f648eb32bdec8de1086fb61097000c469254 /drivers/media/dvb-frontends/rtl2832_priv.h
parent6b4fd01804ced75fb1385df5f6b9cf830cbe15d9 (diff)
[media] rtl2832: wrap DVBv5 CNR to DVBv3 SNR
Change legacy DVBv3 read SNR to return values calculated by DVBv5 statistics. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/rtl2832_priv.h')
-rw-r--r--drivers/media/dvb-frontends/rtl2832_priv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/rtl2832_priv.h b/drivers/media/dvb-frontends/rtl2832_priv.h
index a5f5ccdf10d8..5e90cd49d780 100644
--- a/drivers/media/dvb-frontends/rtl2832_priv.h
+++ b/drivers/media/dvb-frontends/rtl2832_priv.h
@@ -25,6 +25,7 @@
#include "rtl2832.h"
#include <linux/i2c-mux.h>
#include <linux/regmap.h>
+#include <linux/math64.h>
struct rtl2832_dev {
struct rtl2832_platform_data *pdata;