aboutsummaryrefslogtreecommitdiff
path: root/drivers/mfd/glamo/glamo-fb.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2009-06-02 22:06:50 +0100
committerThomas White <taw@bitwiz.org.uk>2009-06-02 22:06:50 +0100
commit31f56d4cb19c8ba73bd2b5fba91ce7d626dc642e (patch)
tree74ddc4935f557a7a24f8b96c289f7839983d1172 /drivers/mfd/glamo/glamo-fb.c
parent740d8196e83bd7eaccf2f3575019a7bd96444c1d (diff)
Reorganise memory map (again)
This reuinites the "framebuffer" and "work" VRAM areas. With KMS, both roles will be done by one pool of memory. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
Diffstat (limited to 'drivers/mfd/glamo/glamo-fb.c')
-rw-r--r--drivers/mfd/glamo/glamo-fb.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/mfd/glamo/glamo-fb.c b/drivers/mfd/glamo/glamo-fb.c
index 589b924b6bf..d9a610eeda4 100644
--- a/drivers/mfd/glamo/glamo-fb.c
+++ b/drivers/mfd/glamo/glamo-fb.c
@@ -995,16 +995,6 @@ static int __init glamofb_probe(struct platform_device *pdev)
dev_err(&pdev->dev, "failed to request mmio region\n");
goto out_free;
}
- if (mach_info->fb_mem_size != RESSIZE(glamofb->fb_res))
- dev_warn(&pdev->dev, "different vram sizes\n");
-
- glamofb->fb_res = request_mem_region(glamofb->fb_res->start,
- mach_info->fb_mem_size,
- pdev->name);
- if (!glamofb->fb_res) {
- dev_err(&pdev->dev, "failed to request vram region\n");
- goto out_release_reg;
- }
/* we want to remap only the registers required for this core
* driver. */