diff options
author | Krzysztof Helt <krzysztof.h1@wp.pl> | 2008-07-24 00:30:53 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-24 13:47:35 -0400 |
commit | e0759a5fbba12e0f2c9149d85bea1ec7df0178fd (patch) | |
tree | 4bd8e62eefb57379cb152c641622f8ebb04ac119 /include/video/trident.h | |
parent | 6eed8e1ec8532a6cd10c8b27236bde023c52c56a (diff) |
tridentfb: convert is_blade and is_xp macros into functions
This patch converts the is_blade() and is_xp() macros into local functions.
Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/video/trident.h')
-rw-r--r-- | include/video/trident.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/include/video/trident.h b/include/video/trident.h index d3dd737a1ba8..9c3670b28906 100644 --- a/include/video/trident.h +++ b/include/video/trident.h | |||
@@ -39,25 +39,6 @@ | |||
39 | #define CYBERBLADEXPm8 0x9910 | 39 | #define CYBERBLADEXPm8 0x9910 |
40 | #define CYBERBLADEXPm16 0x9930 | 40 | #define CYBERBLADEXPm16 0x9930 |
41 | 41 | ||
42 | /* acceleration families */ | ||
43 | #define IMAGE 0 | ||
44 | #define BLADE 1 | ||
45 | #define XP 2 | ||
46 | |||
47 | #define is_image(id) | ||
48 | #define is_xp(id) ((id == CYBERBLADEXPAi1) ||\ | ||
49 | (id == CYBERBLADEXPm8) ||\ | ||
50 | (id == CYBERBLADEXPm16)) | ||
51 | |||
52 | #define is_blade(id) ((id == BLADE3D) ||\ | ||
53 | (id == CYBERBLADEE4) ||\ | ||
54 | (id == CYBERBLADEi7) ||\ | ||
55 | (id == CYBERBLADEi7D) ||\ | ||
56 | (id == CYBERBLADEi1) ||\ | ||
57 | (id == CYBERBLADEi1D) ||\ | ||
58 | (id == CYBERBLADEAi1) ||\ | ||
59 | (id == CYBERBLADEAi1D)) | ||
60 | |||
61 | /* these defines are for 'lcd' variable */ | 42 | /* these defines are for 'lcd' variable */ |
62 | #define LCD_STRETCH 0 | 43 | #define LCD_STRETCH 0 |
63 | #define LCD_CENTER 1 | 44 | #define LCD_CENTER 1 |