Merge branch 'upstream-fixes' into upstream
[linux-2.6] / include / video / mbxfb.h
1 #ifndef __MBX_FB_H
2 #define __MBX_FB_H
3
4 struct mbxfb_val {
5         unsigned int    defval;
6         unsigned int    min;
7         unsigned int    max;
8 };
9
10 struct fb_info;
11
12 struct mbxfb_platform_data {
13                 /* Screen info */
14                 struct mbxfb_val xres;
15                 struct mbxfb_val yres;
16                 struct mbxfb_val bpp;
17
18                 /* Memory info */
19                 unsigned long memsize; /* if 0 use ODFB? */
20                 unsigned long timings1;
21                 unsigned long timings2;
22                 unsigned long timings3;
23
24                 int (*probe)(struct fb_info *fb);
25                 int (*remove)(struct fb_info *fb);
26 };
27
28 #endif /* __MBX_FB_H */