video: atmel_hlcdfb: change type of 'mmio' to avoid unnecessary type casts
[karo-tx-uboot.git] / drivers / video / atmel_hlcdfb.c
index 935ae42..d27928e 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);