patch-2.3.99-pre1 linux/include/linux/fb.h
Next file: linux/include/linux/fs.h
Previous file: linux/include/linux/elevator.h
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Mon Mar 13 10:21:50 2000
- Orig file:
v2.3.51/linux/include/linux/fb.h
- Orig date:
Fri Mar 10 16:40:49 2000
diff -u --recursive --new-file v2.3.51/linux/include/linux/fb.h linux/include/linux/fb.h
@@ -232,7 +232,7 @@
#ifdef __KERNEL__
-#if 1 /* to go away in 2.4.0 */
+#if 1 /* to go away in 2.5.0 */
extern int GET_FB_IDX(kdev_t rdev);
#else
#define GET_FB_IDX(node) (MINOR(node))
@@ -283,15 +283,12 @@
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 count; /* How many using the hardware */
+ int open; /* Has this been open already ? */
+#define FBINFO_FLAG_MODULE 1 /* Low-level driver is a module */
struct fb_var_screeninfo var; /* Current var */
struct fb_fix_screeninfo fix; /* Current fix */
struct fb_monspecs monspecs; /* Current Monitor specs */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)