projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
230dc94
)
[media] max2165: get rid of warning: no previous prototype
author
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sat, 27 Oct 2012 16:58:15 +0000
(13:58 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sat, 27 Oct 2012 20:10:38 +0000
(18:10 -0200)
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>
drivers/media/tuners/max2165.c
patch
|
blob
|
history
diff --git
a/drivers/media/tuners/max2165.c
b/drivers/media/tuners/max2165.c
index ba84936aafd6f8bda6e043d7328fa81fd39a6f52..95ed46f2cd2600b036f1ac2299757e0b616a3da1 100644
(file)
--- 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;