diff options
author | Krzysztof Helt <krzysztof.h1@wp.pl> | 2007-10-16 01:29:05 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 09:43:18 -0700 |
commit | 9fa7bc016a688630386378c205f9ee0f7b2cc834 (patch) | |
tree | 50e8fd68166f2b7541377753420142ce34266a97 /drivers/video/s3c2410fb.h | |
parent | 84902b7af642c86a518c17629c0dbe705a4b6d14 (diff) | |
download | kernel_samsung_tuna-9fa7bc016a688630386378c205f9ee0f7b2cc834.zip kernel_samsung_tuna-9fa7bc016a688630386378c205f9ee0f7b2cc834.tar.gz kernel_samsung_tuna-9fa7bc016a688630386378c205f9ee0f7b2cc834.tar.bz2 |
s3c2410fb: source code improvements
This patch:
- moves more display mode preparations to s3c2410fb_check_var()
- reduces number of fields in s3c2410fb_info
- removes redundant values setting in s3c2410fb_probe()
- removes static mach_info pointer
- releases fb_info structure in s3c2410fb_remove()
- changes s3c2410fb_init to __init from __devinit
- fixes few typos in comments and removes unused includes
Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/s3c2410fb.h')
-rw-r--r-- | drivers/video/s3c2410fb.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/video/s3c2410fb.h b/drivers/video/s3c2410fb.h index 9e86fff..6ce5dc2 100644 --- a/drivers/video/s3c2410fb.h +++ b/drivers/video/s3c2410fb.h @@ -16,7 +16,7 @@ * * 2004-09-07: Arnaud Patard <arnaud.patard@rtp-net.org> * - Renamed from h1940fb.h to s3c2410fb.h - * - Chenged h1940 to s3c2410 + * - Changed h1940 to s3c2410 * * 2004-07-15: Arnaud Patard <arnaud.patard@rtp-net.org> * - First version @@ -32,20 +32,8 @@ struct s3c2410fb_info { struct resource *mem; void __iomem *io; - struct s3c2410fb_mach_info *mach_info; - - unsigned current_display; - - /* raw memory addresses */ - dma_addr_t map_dma; /* physical */ - u_char * map_cpu; /* virtual */ - u_int map_size; - struct s3c2410fb_hw regs; - /* addresses of pieces placed in raw buffer */ - u_char * screen_cpu; /* virtual address of buffer */ - dma_addr_t screen_dma; /* physical address of buffer */ unsigned int palette_ready; /* keep these registers in case we need to re-write palette */ |