aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDavid Wong <davidtlwong@gmail.com>2009-12-03 08:54:25 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-12-10 09:45:18 -0500
commit5476ffd2b78f06cce31a57f8611162918fe1ae3a (patch)
tree1a114c83e32655f6f2f5bd113f022eea40d9e047 /drivers
parent3067e02f8f3ae2f3f02ba76400d03b8bcb4942b0 (diff)
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>
Diffstat (limited to 'drivers')
-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)
193{ 193{
194 u8 tf; 194 u8 tf;
195 u8 tf_ntch; 195 u8 tf_ntch;
196 double t; 196 u32 t;
197 u32 quotient, fraction; 197 u32 quotient, fraction;
198 198
199 /* Set PLL divider according to RF frequency */ 199 /* Set PLL divider according to RF frequency */