Commit 8f706ce4 authored by Petr Vandrovec's avatar Petr Vandrovec Committed by Linus Torvalds

[PATCH] matroxfb compile fix

* Make matroxfb compilable with Mystique, but without G450 support.

			Petr Vandrovec
parent 6cfda12a
...@@ -473,9 +473,12 @@ static void DAC1064_restore_2(WPMINFO struct display* p) { ...@@ -473,9 +473,12 @@ static void DAC1064_restore_2(WPMINFO struct display* p) {
static int m1064_compute(void* outdev, struct my_timming* m) { static int m1064_compute(void* outdev, struct my_timming* m) {
#define minfo ((struct matrox_fb_info*)outdev) #define minfo ((struct matrox_fb_info*)outdev)
#ifdef CONFIG_FB_MATROX_G450
if (ACCESS_FBINFO(devflags.g450dac)) { if (ACCESS_FBINFO(devflags.g450dac)) {
matroxfb_g450_setclk(PMINFO m->pixclock, M_PIXEL_PLL_C); matroxfb_g450_setclk(PMINFO m->pixclock, M_PIXEL_PLL_C);
} else { } else
#endif
{
int i; int i;
int tmout; int tmout;
CRITFLAGS CRITFLAGS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment