diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-10-17 01:36:04 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-10-17 01:57:17 -0400 |
commit | 3ea335100014785fd2518461705654b200e58d00 (patch) | |
tree | e8f25757f05c9cb0d97638fc8dc18e5e2ad05dbf /include/linux/screen_info.h | |
parent | 30c826451d3e5bbc6e11bba0e7fee5d2f49d9b75 (diff) |
Remove magic macros for screen_info structure members
Stop using magic macros for screen_info structure members.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'include/linux/screen_info.h')
-rw-r--r-- | include/linux/screen_info.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/screen_info.h b/include/linux/screen_info.h index 3ee412bc00ec..ba81ffe9958a 100644 --- a/include/linux/screen_info.h +++ b/include/linux/screen_info.h | |||
@@ -47,15 +47,6 @@ struct screen_info { | |||
47 | 47 | ||
48 | extern struct screen_info screen_info; | 48 | extern struct screen_info screen_info; |
49 | 49 | ||
50 | #define ORIG_X (screen_info.orig_x) | ||
51 | #define ORIG_Y (screen_info.orig_y) | ||
52 | #define ORIG_VIDEO_MODE (screen_info.orig_video_mode) | ||
53 | #define ORIG_VIDEO_COLS (screen_info.orig_video_cols) | ||
54 | #define ORIG_VIDEO_EGA_BX (screen_info.orig_video_ega_bx) | ||
55 | #define ORIG_VIDEO_LINES (screen_info.orig_video_lines) | ||
56 | #define ORIG_VIDEO_ISVGA (screen_info.orig_video_isVGA) | ||
57 | #define ORIG_VIDEO_POINTS (screen_info.orig_video_points) | ||
58 | |||
59 | #define VIDEO_TYPE_MDA 0x10 /* Monochrome Text Display */ | 50 | #define VIDEO_TYPE_MDA 0x10 /* Monochrome Text Display */ |
60 | #define VIDEO_TYPE_CGA 0x11 /* CGA Display */ | 51 | #define VIDEO_TYPE_CGA 0x11 /* CGA Display */ |
61 | #define VIDEO_TYPE_EGAM 0x20 /* EGA/VGA in Monochrome Mode */ | 52 | #define VIDEO_TYPE_EGAM 0x20 /* EGA/VGA in Monochrome Mode */ |