rkfbsys:mask printk int set_dsp_lut
[firefly-linux-kernel-4.4.55.git] / drivers / video / bf54x-lq043fb.c
index b020ba7f1cf22f6fabad4dfc0d682243402ba245..2464b910b5905cd3fb4db743eb5904f8c13e1ea4 100644 (file)
@@ -241,12 +241,12 @@ static int request_ports(struct bfin_bf54xfb_info *fbi)
        u16 disp = fbi->mach_info->disp;
 
        if (gpio_request(disp, DRIVER_NAME)) {
-               printk(KERN_ERR "Requesting GPIO %d faild\n", disp);
+               printk(KERN_ERR "Requesting GPIO %d failed\n", disp);
                return -EFAULT;
        }
 
        if (peripheral_request_list(eppi_req_18, DRIVER_NAME)) {
-               printk(KERN_ERR "Requesting Peripherals faild\n");
+               printk(KERN_ERR "Requesting Peripherals failed\n");
                gpio_free(disp);
                return -EFAULT;
        }
@@ -256,7 +256,7 @@ static int request_ports(struct bfin_bf54xfb_info *fbi)
                u16 eppi_req_24[] = EPPI0_24;
 
                if (peripheral_request_list(eppi_req_24, DRIVER_NAME)) {
-                       printk(KERN_ERR "Requesting Peripherals faild\n");
+                       printk(KERN_ERR "Requesting Peripherals failed\n");
                        peripheral_free_list(eppi_req_18);
                        gpio_free(disp);
                        return -EFAULT;
@@ -649,6 +649,7 @@ static int __devinit bfin_bf54x_probe(struct platform_device *pdev)
        }
 #ifndef NO_BL_SUPPORT
        memset(&props, 0, sizeof(struct backlight_properties));
+       props.type = BACKLIGHT_RAW;
        props.max_brightness = 255;
        bl_dev = backlight_device_register("bf54x-bl", NULL, NULL,
                                           &bfin_lq043fb_bl_ops, &props);