diff options
author | Thomas White <taw@bitwiz.org.uk> | 2009-07-01 19:08:22 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2009-07-01 19:08:22 +0100 |
commit | 89815f11b50befdcff19dc8cb862549ea057715e (patch) | |
tree | a8df3d889b716b9c3389bae2ceeaa931906851a9 /drivers/mfd/glamo/glamo-fb.c | |
parent | 11954ff1745ec10e01db1d9b1e2037a5eea848ce (diff) |
Compatibility glamo-drm <---> glamo-fb
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.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/mfd/glamo/glamo-fb.c b/drivers/mfd/glamo/glamo-fb.c index d9a610eeda4..95d40d25cf7 100644 --- a/drivers/mfd/glamo/glamo-fb.c +++ b/drivers/mfd/glamo/glamo-fb.c @@ -996,6 +996,14 @@ static int __init glamofb_probe(struct platform_device *pdev) goto out_free; } + 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. */ glamofb->base = ioremap(glamofb->reg->start, RESSIZE(glamofb->reg)); |