summaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/tua9001_priv.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2015-04-16 12:36:51 +0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-05-18 20:55:14 +0200
commit47f95dbdb3adefb927851c8737de66894f58b14d (patch)
tree34ce1caa4f7c128da5f24a849008635ca7f17152 /drivers/media/tuners/tua9001_priv.h
parent[media] tua9001: use regmap for I2C register access (diff)
downloadlinux-47f95dbdb3adefb927851c8737de66894f58b14d.tar.xz
linux-47f95dbdb3adefb927851c8737de66894f58b14d.zip
[media] tua9001: use div_u64() for frequency calculation
Use div_u64() to simplify and remove home made divides. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/tuners/tua9001_priv.h')
-rw-r--r--drivers/media/tuners/tua9001_priv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/tuners/tua9001_priv.h b/drivers/media/tuners/tua9001_priv.h
index 327ead9ea2ba..bc406c5ec69d 100644
--- a/drivers/media/tuners/tua9001_priv.h
+++ b/drivers/media/tuners/tua9001_priv.h
@@ -18,6 +18,7 @@
#define TUA9001_PRIV_H
#include "tua9001.h"
+#include <linux/math64.h>
#include <linux/regmap.h>
struct tua9001_reg_val {