X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fvideo%2Fvesafb.c;h=3e58ddc2bc3829de17a73ddb496ad67ac7624534;hb=f1b8c63ef404367c60dc9b4f68dec33cae3c707b;hp=2c3aa2fcfd917e5098c465ab97836ba90037c3a5;hpb=d72d6f1b5647258e83819b51f72fe37e2b7d7965;p=linux-2.6 diff --git a/drivers/video/vesafb.c b/drivers/video/vesafb.c index 2c3aa2fcfd..3e58ddc2bc 100644 --- a/drivers/video/vesafb.c +++ b/drivers/video/vesafb.c @@ -413,6 +413,7 @@ static int __init vesafb_probe(struct platform_device *dev) * region already (FIXME) */ request_region(0x3c0, 32, "vesafb"); +#ifdef CONFIG_MTRR if (mtrr) { unsigned int temp_size = size_total; unsigned int type = 0; @@ -450,6 +451,7 @@ static int __init vesafb_probe(struct platform_device *dev) } while (temp_size >= PAGE_SIZE && rc == -EINVAL); } } +#endif info->fbops = &vesafb_ops; info->var = vesafb_defined;