summaryrefslogtreecommitdiffstats
path: root/include/linux/fb.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-03-13 20:55:15 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-03-13 20:55:15 +0000
commit1471f525455788c20b130690e0f104df451aeb43 (patch)
tree3778beba56558beb9a9548ea5b467e9c44ea966f /include/linux/fb.h
parente80d2c5456d30ebba5b0eb8a9d33e17d815d4d83 (diff)
Merge with Linux 2.3.51.
Diffstat (limited to 'include/linux/fb.h')
-rw-r--r--include/linux/fb.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/linux/fb.h b/include/linux/fb.h
index 0b55b363b..43bf69f86 100644
--- a/include/linux/fb.h
+++ b/include/linux/fb.h
@@ -283,15 +283,19 @@ struct fb_ops {
int (*fb_rasterimg)(struct fb_info *info, int start);
};
+/* fb_info flags */
+#define FBINFO_FLAG_MODULE 1 /* Low-level driver is a module */
+#define FBINFO_FLAG_OPEN 2 /* Has this been open already ? */
+
struct fb_info {
char modename[40]; /* default video mode */
kdev_t node;
int flags;
- int open; /* Has this been open already ? */
-#define FBINFO_FLAG_MODULE 1 /* Low-level driver is a module */
+ int count; /* How many using the hardware */
struct fb_var_screeninfo var; /* Current var */
struct fb_fix_screeninfo fix; /* Current fix */
struct fb_monspecs monspecs; /* Current Monitor specs */
+ struct fb_cmap cmap; /* Current cmap */
struct fb_ops *fbops;
char *screen_base; /* Virtual address */
struct display *disp; /* initial display variable */