summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2012-10-27 20:58:15 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-10-28 00:10:38 +0400
commit5e04f9201c905a22e5aab56f08db71ee21448f31 (patch)
tree4d52977254aeb3c8ab4a21e6750b9108e31ed77b
parent230dc94a2a6e5786b8529e3218979719758f1fa0 (diff)
downloadlinux-5e04f9201c905a22e5aab56f08db71ee21448f31.tar.xz
[media] max2165: get rid of warning: no previous prototype
drivers/media/tuners/max2165.c:164:5: warning: no previous prototype for 'fixpt_div32' [-Wmissing-prototypes] Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/tuners/max2165.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/tuners/max2165.c b/drivers/media/tuners/max2165.c
index ba84936aafd6..95ed46f2cd26 100644
--- a/drivers/media/tuners/max2165.c
+++ b/drivers/media/tuners/max2165.c
@@ -161,7 +161,7 @@ static int max2165_set_bandwidth(struct max2165_priv *priv, u32 bw)
return 0;
}
-int fixpt_div32(u32 dividend, u32 divisor, u32 *quotient, u32 *fraction)
+static int fixpt_div32(u32 dividend, u32 divisor, u32 *quotient, u32 *fraction)
{
u32 remainder;
u32 q, f = 0;