提交 b614ce8b 编写于 作者: K Krzysztof Helt 提交者: Linus Torvalds

tridentfb: fix memory size detection

Fix memory size multiplier during detection.
Signed-off-by: NKrzysztof Helt <krzysztof.h1@wp.pl>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 3acd9d46
......@@ -745,7 +745,7 @@ static unsigned int __devinit get_memsize(void)
switch (tmp) {
case 0x01:
k = 512;
k = 512 * Kb;
break;
case 0x02:
k = 6 * Mb; /* XP */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册