diff options
author | Peter Huewe <peterhuewe@gmx.de> | 2012-05-03 17:42:39 -0400 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2012-05-08 12:58:20 -0400 |
commit | 3d7e5a9b15bcf832260831176f1f7001f104d38b (patch) | |
tree | 475f56b3c3c519529bd8002fa2e51448dd24bbc4 /drivers/video/sis | |
parent | b71b76333952053c383d20f7b2175968d8ada304 (diff) |
video/sis: Remove unused structs SiS_SDRDRAM_TYPE/SiS_DDRDRAM_TYPE/SiS_DRAMType
This patch removes the unused structs SiS_SDRDRAM_TYPE and SiS_DDRDRAM_TYPE
from init.h
These are not used anywhere so we can delete them.
The SiS_DRAMType is identically defined in sis_main.c and only used
there so we can remove it here.
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/sis')
-rw-r--r-- | drivers/video/sis/init.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/drivers/video/sis/init.h b/drivers/video/sis/init.h index aff73842d877..85d6738b6c64 100644 --- a/drivers/video/sis/init.h +++ b/drivers/video/sis/init.h | |||
@@ -105,51 +105,6 @@ static const unsigned short ModeIndex_1920x1440[] = {0x68, 0x69, 0x00, 0x6b}; | |||
105 | static const unsigned short ModeIndex_300_2048x1536[]= {0x6c, 0x6d, 0x00, 0x00}; | 105 | static const unsigned short ModeIndex_300_2048x1536[]= {0x6c, 0x6d, 0x00, 0x00}; |
106 | static const unsigned short ModeIndex_310_2048x1536[]= {0x6c, 0x6d, 0x00, 0x6e}; | 106 | static const unsigned short ModeIndex_310_2048x1536[]= {0x6c, 0x6d, 0x00, 0x6e}; |
107 | 107 | ||
108 | static const unsigned short SiS_DRAMType[17][5]={ | ||
109 | {0x0C,0x0A,0x02,0x40,0x39}, | ||
110 | {0x0D,0x0A,0x01,0x40,0x48}, | ||
111 | {0x0C,0x09,0x02,0x20,0x35}, | ||
112 | {0x0D,0x09,0x01,0x20,0x44}, | ||
113 | {0x0C,0x08,0x02,0x10,0x31}, | ||
114 | {0x0D,0x08,0x01,0x10,0x40}, | ||
115 | {0x0C,0x0A,0x01,0x20,0x34}, | ||
116 | {0x0C,0x09,0x01,0x08,0x32}, | ||
117 | {0x0B,0x08,0x02,0x08,0x21}, | ||
118 | {0x0C,0x08,0x01,0x08,0x30}, | ||
119 | {0x0A,0x08,0x02,0x04,0x11}, | ||
120 | {0x0B,0x0A,0x01,0x10,0x28}, | ||
121 | {0x09,0x08,0x02,0x02,0x01}, | ||
122 | {0x0B,0x09,0x01,0x08,0x24}, | ||
123 | {0x0B,0x08,0x01,0x04,0x20}, | ||
124 | {0x0A,0x08,0x01,0x02,0x10}, | ||
125 | {0x09,0x08,0x01,0x01,0x00} | ||
126 | }; | ||
127 | |||
128 | static const unsigned short SiS_SDRDRAM_TYPE[13][5] = | ||
129 | { | ||
130 | { 2,12, 9,64,0x35}, | ||
131 | { 1,13, 9,64,0x44}, | ||
132 | { 2,12, 8,32,0x31}, | ||
133 | { 2,11, 9,32,0x25}, | ||
134 | { 1,12, 9,32,0x34}, | ||
135 | { 1,13, 8,32,0x40}, | ||
136 | { 2,11, 8,16,0x21}, | ||
137 | { 1,12, 8,16,0x30}, | ||
138 | { 1,11, 9,16,0x24}, | ||
139 | { 1,11, 8, 8,0x20}, | ||
140 | { 2, 9, 8, 4,0x01}, | ||
141 | { 1,10, 8, 4,0x10}, | ||
142 | { 1, 9, 8, 2,0x00} | ||
143 | }; | ||
144 | |||
145 | static const unsigned short SiS_DDRDRAM_TYPE[4][5] = | ||
146 | { | ||
147 | { 2,12, 9,64,0x35}, | ||
148 | { 2,12, 8,32,0x31}, | ||
149 | { 2,11, 8,16,0x21}, | ||
150 | { 2, 9, 8, 4,0x01} | ||
151 | }; | ||
152 | |||
153 | static const unsigned char SiS_MDA_DAC[] = | 108 | static const unsigned char SiS_MDA_DAC[] = |
154 | { | 109 | { |
155 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | 110 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |