mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
tridentfb: fix memory size detection
Fix memory size multiplier during detection. Signed-off-by: Krzysztof Helt <[email protected]> Cc: "Antonino A. Daplas" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
3acd9d4620
commit
b614ce8b3c
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue