summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDavid Wong <davidtlwong@gmail.com>2009-12-03 14:54:25 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-12-10 15:45:18 +0100
commit5476ffd2b78f06cce31a57f8611162918fe1ae3a (patch)
tree1a114c83e32655f6f2f5bd113f022eea40d9e047 /drivers
parentMerge branch 'acpica' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/l... (diff)
downloadlinux-5476ffd2b78f06cce31a57f8611162918fe1ae3a.tar.xz
linux-5476ffd2b78f06cce31a57f8611162918fe1ae3a.zip
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)
{
u8 tf;
u8 tf_ntch;
- double t;
+ u32 t;
u32 quotient, fraction;
/* Set PLL divider according to RF frequency */