summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Wong <davidtlwong@gmail.com>2009-12-03 16:54:25 +0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-12-10 17:45:18 +0300
commit5476ffd2b78f06cce31a57f8611162918fe1ae3a (patch)
tree1a114c83e32655f6f2f5bd113f022eea40d9e047
parent3067e02f8f3ae2f3f02ba76400d03b8bcb4942b0 (diff)
downloadlinux-5476ffd2b78f06cce31a57f8611162918fe1ae3a.tar.xz
V4L/DVB (13592): max2165: 32bit build patch
This patch drops usage of floating point variable for 32bit build Signed-off-by: David T. L. Wong <davidtlwong@gmail.com> Acked-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/common/tuners/max2165.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/common/tuners/max2165.c b/drivers/media/common/tuners/max2165.c
index 1b486cfb8ed9..3d03640cf1fe 100644
--- a/drivers/media/common/tuners/max2165.c
+++ b/drivers/media/common/tuners/max2165.c
@@ -193,7 +193,7 @@ static int max2165_set_rf(struct max2165_priv *priv, u32 freq)
{
u8 tf;
u8 tf_ntch;
- double t;
+ u32 t;
u32 quotient, fraction;
/* Set PLL divider according to RF frequency */