]> err.no Git - linux-2.6/blobdiff - drivers/video/fbsysfs.c
kconfig: move initramfs options to General Setup
[linux-2.6] / drivers / video / fbsysfs.c
index 7dfbf39b4ed3c9c59ea502bd9a507d1a7a224c75..ddc9443254d9dc0bfac823614da46923dfebd354 100644 (file)
@@ -256,7 +256,7 @@ static ssize_t show_cmap(struct class_device *class_device, char *buf)
        unsigned int offset = 0, i;
 
        if (!fb_info->cmap.red || !fb_info->cmap.blue ||
-           fb_info->cmap.green || fb_info->cmap.transp)
+           !fb_info->cmap.green || !fb_info->cmap.transp)
                return -EINVAL;
 
        for (i = 0; i < fb_info->cmap.len; i++) {