|
@@ -1227,7 +1227,7 @@ static struct fb_ops pm3fb_ops = {
|
|
|
|
|
|
/* mmio register are already mapped when this function is called */
|
|
|
/* the pm3fb_fix.smem_start is also set */
|
|
|
-static unsigned long pm3fb_size_memory(struct pm3_par *par)
|
|
|
+static unsigned long __devinit pm3fb_size_memory(struct pm3_par *par)
|
|
|
{
|
|
|
unsigned long memsize = 0;
|
|
|
unsigned long tempBypass, i, temp1, temp2;
|