mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-25 05:34:00 +08:00
22caf04297
Add frame buffer driver for the 2700G LCD controller present on CompuLab CM-X270 computer module. [adaplas] - Add more informative help text to Kconfig - Make DEBUG a Kconfig option as FB_MBX_DEBUG - Remove #include mbxdebug.c, this is frowned upon - Remove redundant casts - Arrange #include's alphabetically - Trivial whitespace Signed-off-by: Mike Rapoport <mike@compulab.co.il> Signed-off-by: Antonino Daplas <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
29 lines
509 B
C
29 lines
509 B
C
#ifndef __MBX_FB_H
|
|
#define __MBX_FB_H
|
|
|
|
struct mbxfb_val {
|
|
unsigned int defval;
|
|
unsigned int min;
|
|
unsigned int max;
|
|
};
|
|
|
|
struct fb_info;
|
|
|
|
struct mbxfb_platform_data {
|
|
/* Screen info */
|
|
struct mbxfb_val xres;
|
|
struct mbxfb_val yres;
|
|
struct mbxfb_val bpp;
|
|
|
|
/* Memory info */
|
|
unsigned long memsize; /* if 0 use ODFB? */
|
|
unsigned long timings1;
|
|
unsigned long timings2;
|
|
unsigned long timings3;
|
|
|
|
int (*probe)(struct fb_info *fb);
|
|
int (*remove)(struct fb_info *fb);
|
|
};
|
|
|
|
#endif /* __MBX_FB_H */
|