aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/via/hw.h
diff options
context:
space:
mode:
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2010-04-17 19:44:53 +0000
committerJonathan Corbet <corbet@lwn.net>2010-05-07 17:17:38 -0600
commit100e74a150d3a31d4c12658c926429ceb880d2f7 (patch)
treed2fe1094e53c320c7027438c70ee2b66f67eaeed /drivers/video/via/hw.h
parentviafb: unify modesetting functions (diff)
downloadlinux-dev-100e74a150d3a31d4c12658c926429ceb880d2f7.tar.xz
linux-dev-100e74a150d3a31d4c12658c926429ceb880d2f7.zip
viafb: move some modesetting functions to a seperate file
viafb: move some modesetting functions to a seperate file This patch moves the modesetting functions which are already cleaned up to a seperate file. Just the beginning to bring some structure in this mess. Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/via/hw.h')
-rw-r--r--drivers/video/via/hw.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/video/via/hw.h b/drivers/video/via/hw.h
index 641a5fa4bd33..a58701f3bf7f 100644
--- a/drivers/video/via/hw.h
+++ b/drivers/video/via/hw.h
@@ -25,6 +25,7 @@
#include "viamode.h"
#include "global.h"
#include "via_io.h"
+#include "via_modesetting.h"
#define viafb_read_reg(p, i) via_read_reg(p, i)
#define viafb_write_reg(i, p, d) via_write_reg(p, i, d)
@@ -910,10 +911,6 @@ void viafb_update_device_setting(int hres, int vres, int bpp,
int vmode_refresh, int flag);
void viafb_set_iga_path(void);
-void via_set_primary_address(u32 addr);
-void via_set_secondary_address(u32 addr);
-void via_set_primary_pitch(u32 pitch);
-void via_set_secondary_pitch(u32 pitch);
void viafb_set_primary_color_register(u8 index, u8 red, u8 green, u8 blue);
void viafb_set_secondary_color_register(u8 index, u8 red, u8 green, u8 blue);
void viafb_get_fb_info(unsigned int *fb_base, unsigned int *fb_len);