diff options
author | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2010-04-17 15:44:53 -0400 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2010-05-07 19:17:38 -0400 |
commit | 100e74a150d3a31d4c12658c926429ceb880d2f7 (patch) | |
tree | d2fe1094e53c320c7027438c70ee2b66f67eaeed /drivers/video/via/hw.h | |
parent | 2749413db17723cf894036c0eaf339f289bcc841 (diff) |
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.h | 5 |
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 @@ | |||
25 | #include "viamode.h" | 25 | #include "viamode.h" |
26 | #include "global.h" | 26 | #include "global.h" |
27 | #include "via_io.h" | 27 | #include "via_io.h" |
28 | #include "via_modesetting.h" | ||
28 | 29 | ||
29 | #define viafb_read_reg(p, i) via_read_reg(p, i) | 30 | #define viafb_read_reg(p, i) via_read_reg(p, i) |
30 | #define viafb_write_reg(i, p, d) via_write_reg(p, i, d) | 31 | #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, | |||
910 | int vmode_refresh, int flag); | 911 | int vmode_refresh, int flag); |
911 | 912 | ||
912 | void viafb_set_iga_path(void); | 913 | void viafb_set_iga_path(void); |
913 | void via_set_primary_address(u32 addr); | ||
914 | void via_set_secondary_address(u32 addr); | ||
915 | void via_set_primary_pitch(u32 pitch); | ||
916 | void via_set_secondary_pitch(u32 pitch); | ||
917 | void viafb_set_primary_color_register(u8 index, u8 red, u8 green, u8 blue); | 914 | void viafb_set_primary_color_register(u8 index, u8 red, u8 green, u8 blue); |
918 | void viafb_set_secondary_color_register(u8 index, u8 red, u8 green, u8 blue); | 915 | void viafb_set_secondary_color_register(u8 index, u8 red, u8 green, u8 blue); |
919 | void viafb_get_fb_info(unsigned int *fb_base, unsigned int *fb_len); | 916 | void viafb_get_fb_info(unsigned int *fb_base, unsigned int *fb_len); |