]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/video/atmel_hlcdfb.c
video: atmel_hlcdfb: change type of 'mmio' to avoid unnecessary type casts
[karo-tx-uboot.git] / drivers / video / atmel_hlcdfb.c
index 935ae42a9c873904ff8e7a174332438fe5d7d34c..d27928eea4fe95bbeddc6b0118cd7d2b16af9238 100644 (file)
@@ -46,7 +46,7 @@ void lcd_ctrl_init(void *lcdbase)
        if (!has_lcdc())
                return;     /* No lcdc */
 
-       regs = (struct atmel_hlcd_regs *)panel_info.mmio;
+       regs = panel_info.mmio;
 
        /* Disable DISP signal */
        lcdc_writel(&regs->lcdc_lcddis, LCDC_LCDDIS_DISPDIS);