projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3067e02
)
V4L/DVB (13592): max2165: 32bit build patch
author
David Wong
<davidtlwong@gmail.com>
Thu, 3 Dec 2009 13:54:25 +0000
(10:54 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Thu, 10 Dec 2009 14:45:18 +0000
(12:45 -0200)
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>
drivers/media/common/tuners/max2165.c
patch
|
blob
|
history
diff --git
a/drivers/media/common/tuners/max2165.c
b/drivers/media/common/tuners/max2165.c
index
1b486cf
..
3d03640
100644
(file)
--- 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 */