]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/video/sgivwfb.c
slub: Deal with config variable dependencies
[linux-2.6-omap-h63xx.git] / drivers / video / sgivwfb.c
index c0cc5e3ba7b5fe28d689071a52836897d8450627..4fb16240c04d2d377354e6d060c356770bde4cb9 100644 (file)
@@ -9,7 +9,6 @@
  *  more details.
  */
 
-#include <linux/config.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/mm.h>
@@ -753,7 +752,7 @@ static int __init sgivwfb_probe(struct platform_device *dev)
        struct fb_info *info;
        char *monitor;
 
-       info = framebuffer_alloc(sizeof(struct sgivw_par) + sizeof(u32) * 256, &dev->dev);
+       info = framebuffer_alloc(sizeof(struct sgivw_par) + sizeof(u32) * 16, &dev->dev);
        if (!info)
                return -ENOMEM;
        par = info->par;