X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-arm%2Fhardware%2Famba_clcd.h;h=2149be7c7023702e7b0dca0bf19b30ed1081ec34;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=65436fe467758a57107a54696a39bd96ba35f396;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/include/asm-arm/hardware/amba_clcd.h b/include/asm-arm/hardware/amba_clcd.h index 65436fe46..2149be7c7 100644 --- a/include/asm-arm/hardware/amba_clcd.h +++ b/include/asm-arm/hardware/amba_clcd.h @@ -22,7 +22,7 @@ #define CLCD_UBAS 0x00000010 #define CLCD_LBAS 0x00000014 -#ifndef CONFIG_ARCH_VERSATILE_PB +#ifndef CONFIG_ARCH_VERSATILE #define CLCD_IENB 0x00000018 #define CLCD_CNTL 0x0000001c #else @@ -124,6 +124,11 @@ struct clcd_board { */ int (*setup)(struct clcd_fb *); + /* + * mmap the framebuffer memory + */ + int (*mmap)(struct clcd_fb *, struct vm_area_struct *); + /* * Remove platform specific parts of CLCD driver */ @@ -141,7 +146,7 @@ struct clcd_fb { struct clcd_panel *panel; struct clcd_board *board; void *board_data; - void *regs; + void __iomem *regs; u32 clcd_cntl; u32 cmap[16]; };