summaryrefslogtreecommitdiffstats
path: root/drivers/video/via/hw.h
diff options
context:
space:
mode:
authorFlorian Tobias Schandinat2009-09-23 01:47:23 +0200
committerLinus Torvalds2009-09-23 16:39:52 +0200
commit68fa92082ffda84adcbae06fdd307fca53469c25 (patch)
treef63686d996017fd70a66b420b2a22a9000c34c66 /drivers/video/via/hw.h
parentviafb: remove LVDS initialization (diff)
downloadkernel-qcow2-linux-68fa92082ffda84adcbae06fdd307fca53469c25.tar.gz
kernel-qcow2-linux-68fa92082ffda84adcbae06fdd307fca53469c25.tar.xz
kernel-qcow2-linux-68fa92082ffda84adcbae06fdd307fca53469c25.zip
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/hw.h')
-rw-r--r--drivers/video/via/hw.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/via/hw.h b/drivers/video/via/hw.h
index 874ea3fc290d..cf1dfd5c7fdf 100644
--- a/drivers/video/via/hw.h
+++ b/drivers/video/via/hw.h
@@ -923,8 +923,7 @@ int viafb_get_pixclock(int hres, int vres, int vmode_refresh);
int viafb_get_refresh(int hres, int vres, u32 float_refresh);
void viafb_update_device_setting(int hres, int vres, int bpp,
int vmode_refresh, int flag);
-void viafb_get_mmio_info(unsigned long *mmio_base,
- unsigned long *mmio_len);
+void viafb_get_mmio_info(unsigned long *mmio_base, u32 *mmio_len);
void viafb_set_iga_path(void);
void viafb_set_primary_address(u32 addr);