diff options
author | Steffen Trumtrar <s.trumtrar@pengutronix.de> | 2012-11-22 13:11:32 +0100 |
---|---|---|
committer | Steffen Trumtrar <s.trumtrar@pengutronix.de> | 2013-01-24 08:59:44 +0100 |
commit | ea4f3111ef0daffa1d11fded6f375227febca458 (patch) | |
tree | 4be2908bdb0ee68d5d7614d9cc2b01ed4fcf8be6 /drivers/video/via/via_modesetting.c | |
parent | 7d1f9aeff1ee4a20b1aeb377dd0f579fe9647619 (diff) | |
download | op-kernel-dev-ea4f3111ef0daffa1d11fded6f375227febca458.zip op-kernel-dev-ea4f3111ef0daffa1d11fded6f375227febca458.tar.gz |
viafb: rename display_timing to via_display_timing
The struct display_timing is specific to the via subsystem. The naming leads to
collisions with the new struct display_timing, which is supposed to be a shared
struct between different subsystems.
To clean this up, prepend the existing struct with the subsystem it is specific
to.
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Diffstat (limited to 'drivers/video/via/via_modesetting.c')
-rw-r--r-- | drivers/video/via/via_modesetting.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/via/via_modesetting.c b/drivers/video/via/via_modesetting.c index 0e431ae..0b414b0 100644 --- a/drivers/video/via/via_modesetting.c +++ b/drivers/video/via/via_modesetting.c @@ -30,9 +30,9 @@ #include "debug.h" -void via_set_primary_timing(const struct display_timing *timing) +void via_set_primary_timing(const struct via_display_timing *timing) { - struct display_timing raw; + struct via_display_timing raw; raw.hor_total = timing->hor_total / 8 - 5; raw.hor_addr = timing->hor_addr / 8 - 1; @@ -88,9 +88,9 @@ void via_set_primary_timing(const struct display_timing *timing) via_write_reg_mask(VIACR, 0x17, 0x80, 0x80); } -void via_set_secondary_timing(const struct display_timing *timing) +void via_set_secondary_timing(const struct via_display_timing *timing) { - struct display_timing raw; + struct via_display_timing raw; raw.hor_total = timing->hor_total - 1; raw.hor_addr = timing->hor_addr - 1; |