diff options
author | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2010-09-19 00:40:15 -0400 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2010-09-23 22:15:25 -0400 |
commit | a2aa9f9f5ad94c8e0e767110c7a659de84a6b762 (patch) | |
tree | b0d2510ecd7272658c005522041eb2014d2e965e /drivers/video/via/hw.h | |
parent | dd7a0b08cd921763e570f693ecc4816aa2f1a3fd (diff) |
viafb: rename output devices
Now it looks like we finally know enough about the output devices to give
them proper names. As VIA_96 is often referred to as DVP0 rename it to
VIA_DVP0. As VIA_6C and VIA_93 seem to exist only on CLE266 and "replace"
DVP0 and DVP1 there rename them to VIA_LDVP0 and VIA_LDVP1 (L as legacy).
The proc names were changed accordingly which should be harmless as they
were just introduced and not beyond RFC state.
This patch should make things a bit more comfortable and less scary.
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Acked-by: Jonathan Corbet <corbet@lwn.net>
Cc: Joseph Chan <JosephChan@via.com.tw>
Cc: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/video/via/hw.h')
-rw-r--r-- | drivers/video/via/hw.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/via/hw.h b/drivers/video/via/hw.h index ad6f9b1cf40e..b76440946771 100644 --- a/drivers/video/via/hw.h +++ b/drivers/video/via/hw.h | |||
@@ -33,9 +33,9 @@ | |||
33 | #define viafb_write_reg_mask(i, p, d, m) via_write_reg_mask(p, i, d, m) | 33 | #define viafb_write_reg_mask(i, p, d, m) via_write_reg_mask(p, i, d, m) |
34 | 34 | ||
35 | /* VIA output devices */ | 35 | /* VIA output devices */ |
36 | #define VIA_6C 0x00000001 | 36 | #define VIA_LDVP0 0x00000001 |
37 | #define VIA_93 0x00000002 | 37 | #define VIA_LDVP1 0x00000002 |
38 | #define VIA_96 0x00000004 | 38 | #define VIA_DVP0 0x00000004 |
39 | #define VIA_CRT 0x00000010 | 39 | #define VIA_CRT 0x00000010 |
40 | #define VIA_DVP1 0x00000020 | 40 | #define VIA_DVP1 0x00000020 |
41 | #define VIA_LVDS1 0x00000040 | 41 | #define VIA_LVDS1 0x00000040 |