aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/via/hw.h
diff options
context:
space:
mode:
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2010-04-17 19:44:52 +0000
committerJonathan Corbet <corbet@lwn.net>2010-05-07 17:17:38 -0600
commit2749413db17723cf894036c0eaf339f289bcc841 (patch)
tree8bfff7a881bf7fa54e93a8a11665c6e51c736859 /drivers/video/via/hw.h
parentviafb: Reserve framebuffer memory for the upcoming camera driver (diff)
downloadlinux-dev-2749413db17723cf894036c0eaf339f289bcc841.tar.xz
linux-dev-2749413db17723cf894036c0eaf339f289bcc841.zip
viafb: unify modesetting functions
viafb: unify modesetting functions This patch unifies some cleaned up modesetting functions to prepare for moving them to an extra file. This includes make them use via_io and changing there names to reflect that they do not depend on anything framebuffer specific. Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/via/hw.h')
-rw-r--r--drivers/video/via/hw.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/via/hw.h b/drivers/video/via/hw.h
index 23c319010913..641a5fa4bd33 100644
--- a/drivers/video/via/hw.h
+++ b/drivers/video/via/hw.h
@@ -910,10 +910,10 @@ void viafb_update_device_setting(int hres, int vres, int bpp,
int vmode_refresh, int flag);
void viafb_set_iga_path(void);
-void viafb_set_primary_address(u32 addr);
-void viafb_set_secondary_address(u32 addr);
-void viafb_set_primary_pitch(u32 pitch);
-void viafb_set_secondary_pitch(u32 pitch);
+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);