aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/via/viafbdev.h
diff options
context:
space:
mode:
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2009-09-22 19:47:23 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-23 10:39:52 -0400
commit68fa92082ffda84adcbae06fdd307fca53469c25 (patch)
treef63686d996017fd70a66b420b2a22a9000c34c66 /drivers/video/via/viafbdev.h
parent8594ac33450e6d66460230e5d07f5515b51476c9 (diff)
viafb: another small cleanup of viafb_par
This removes the completly useless io variable as well as the temporary used variables mmio_base and mmio_len in favor to use directly the fb_info variables. This is a code cleanup only, no runtime change expected. Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Cc: Scott Fang <ScottFang@viatech.com.cn> Cc: Joseph Chan <JosephChan@via.com.tw> Cc: Harald Welte <laforge@gnumonks.org> Cc: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/via/viafbdev.h')
-rw-r--r--drivers/video/via/viafbdev.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/video/via/viafbdev.h b/drivers/video/via/viafbdev.h
index cd871f95498b..2763922bbe4f 100644
--- a/drivers/video/via/viafbdev.h
+++ b/drivers/video/via/viafbdev.h
@@ -41,9 +41,6 @@ struct viafb_par {
41 void __iomem *io_virt; /*iospace virtual memory address */ 41 void __iomem *io_virt; /*iospace virtual memory address */
42 unsigned int fbmem; /*framebuffer physical memory address */ 42 unsigned int fbmem; /*framebuffer physical memory address */
43 unsigned int memsize; /*size of fbmem */ 43 unsigned int memsize; /*size of fbmem */
44 unsigned int io; /*io space address */
45 unsigned long mmio_base; /*mmio base address */
46 unsigned long mmio_len; /*mmio base length */
47 u32 fbmem_free; /* Free FB memory */ 44 u32 fbmem_free; /* Free FB memory */
48 u32 fbmem_used; /* Use FB memory size */ 45 u32 fbmem_used; /* Use FB memory size */
49 u32 cursor_start; /* Cursor Start Address */ 46 u32 cursor_start; /* Cursor Start Address */