projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5afabc
)
intelfbhw.c: intelfbhw_get_p1p2 defined but not used
author
Parag Warudkar
<kernel-stuff@comcast.net>
Tue, 22 Aug 2006 00:12:58 +0000
(10:12 +1000)
committer
Dave Airlie
<airlied@linux.ie>
Tue, 22 Aug 2006 00:12:58 +0000
(10:12 +1000)
intelfbhw_get_p1p2 is used only if REGDUMP is defined - compile it in only
if REGDUMP is defined - one less compiler warning.
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/video/intelfb/intelfbhw.c
patch
|
blob
|
history
diff --git
a/drivers/video/intelfb/intelfbhw.c
b/drivers/video/intelfb/intelfbhw.c
index
8038f55
..
bbd82ff
100644
(file)
--- a/
drivers/video/intelfb/intelfbhw.c
+++ b/
drivers/video/intelfb/intelfbhw.c
@@
-627,6
+627,7
@@
static int calc_vclock(int index, int m1, int m2, int n, int p1, int p2, int lvd
return vco / p;
}
+#if REGDUMP
static void
intelfbhw_get_p1p2(struct intelfb_info *dinfo, int dpll, int *o_p1, int *o_p2)
{
@@
-652,6
+653,7
@@
intelfbhw_get_p1p2(struct intelfb_info *dinfo, int dpll, int *o_p1, int *o_p2)
*o_p1 = p1;
*o_p2 = p2;
}
+#endif
void