summaryrefslogtreecommitdiff
path: root/src/g80_output.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/g80_output.c')
-rw-r--r--src/g80_output.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/g80_output.c b/src/g80_output.c
index 11bdb25..448864f 100644
--- a/src/g80_output.c
+++ b/src/g80_output.c
@@ -158,7 +158,8 @@ void
G80OutputSetPClk(xf86OutputPtr output, int pclk)
{
G80OutputPrivPtr pPriv = output->driver_private;
- pPriv->set_pclk(output, pclk);
+ if(pPriv->set_pclk)
+ pPriv->set_pclk(output, pclk);
}
int