From: David Wong Date: Thu, 3 Dec 2009 13:54:25 +0000 (-0300) Subject: V4L/DVB (13592): max2165: 32bit build patch X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5476ffd2b78f06cce31a57f8611162918fe1ae3a;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 Acked-by: Randy Dunlap Signed-off-by: Mauro Carvalho Chehab --- 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 */