From: Krzysztof Helt Make use of functions and constants from the vga.h header to compact the code and make it more readable. Signed-off-by: Krzysztof Helt Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton --- drivers/video/tridentfb.c | 144 +++++++++++++++--------------------- include/video/trident.h | 26 ------ 2 files changed, 61 insertions(+), 109 deletions(-) diff -puN drivers/video/tridentfb.c~tridentfb-make-use-of-functions-and-constants-from-the-vgah drivers/video/tridentfb.c --- a/drivers/video/tridentfb.c~tridentfb-make-use-of-functions-and-constants-from-the-vgah +++ a/drivers/video/tridentfb.c @@ -22,6 +22,7 @@ #include #include +#include