summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2007-10-30 18:20:15 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2007-10-30 18:20:15 -0700
commit7c88b58a93fce9fda59b6344acb87af16336e287 (patch)
tree6297bd7d45bcee7d3c576eeefdb79bc256fcd278
parentd2c78f82c20f33fc9c22cab8a7ca161e57a34bf8 (diff)
Clear compiler error: "void functions cannot return values"
-rw-r--r--src/i830_display.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i830_display.c b/src/i830_display.c
index 292814c3..a99b4a55 100644
--- a/src/i830_display.c
+++ b/src/i830_display.c
@@ -224,9 +224,9 @@ static void i9xx_clock(int refclk, intel_clock_t *clock)
static void intel_clock(I830Ptr pI830, int refclk, intel_clock_t *clock)
{
if (IS_I9XX(pI830))
- return i9xx_clock (refclk, clock);
+ i9xx_clock (refclk, clock);
else
- return i8xx_clock (refclk, clock);
+ i8xx_clock (refclk, clock);
}
static void