diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 4 | ||||
-rw-r--r-- | src/smi_output.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 8db8ab6..aff239f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -54,7 +54,3 @@ siliconmotion_drv_la_SOURCES = \ smilynx.h \ smi501_crtc.c \ smi501_output.c - -if XMODES - siliconmotion_drv_la_SOURCES += xf86cvt.c -endif diff --git a/src/smi_output.c b/src/smi_output.c index 209e2f9..43fe343 100644 --- a/src/smi_output.c +++ b/src/smi_output.c @@ -143,7 +143,11 @@ SMI_OutputGetModes_native(xf86OutputPtr output) SMIPtr pSmi = SMIPTR(output->scrn); ENTER(); +#ifdef HAVE_XMODES RETURN(xf86CVTMode(pSmi->lcdWidth, pSmi->lcdHeight, 60.0f, FALSE, FALSE)); +#else + RETURN(NULL); +#endif } |