diff options
author | Parag Warudkar <kernel-stuff@comcast.net> | 2006-08-21 20:12:58 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-08-21 20:12:58 -0400 |
commit | 4dc3595f5c569021b1bd0109502acfca82036902 (patch) | |
tree | 5343019f683b42d097f332dfe942f6bcab928d57 /drivers | |
parent | d5afabcea215a828eb00df992b429486aae14c2f (diff) |
intelfbhw.c: intelfbhw_get_p1p2 defined but not used
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/intelfb/intelfbhw.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/intelfb/intelfbhw.c b/drivers/video/intelfb/intelfbhw.c index 8038f558611d..bbd82fffc3f6 100644 --- 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 | |||
627 | return vco / p; | 627 | return vco / p; |
628 | } | 628 | } |
629 | 629 | ||
630 | #if REGDUMP | ||
630 | static void | 631 | static void |
631 | intelfbhw_get_p1p2(struct intelfb_info *dinfo, int dpll, int *o_p1, int *o_p2) | 632 | intelfbhw_get_p1p2(struct intelfb_info *dinfo, int dpll, int *o_p1, int *o_p2) |
632 | { | 633 | { |
@@ -652,6 +653,7 @@ intelfbhw_get_p1p2(struct intelfb_info *dinfo, int dpll, int *o_p1, int *o_p2) | |||
652 | *o_p1 = p1; | 653 | *o_p1 = p1; |
653 | *o_p2 = p2; | 654 | *o_p2 = p2; |
654 | } | 655 | } |
656 | #endif | ||
655 | 657 | ||
656 | 658 | ||
657 | void | 659 | void |