diff options
author | Thomas White <taw@bitwiz.org.uk> | 2010-05-06 08:37:04 -0700 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2010-05-06 08:37:04 -0700 |
commit | ab4e9b47a5827fc9252f57c69c270ddeb01a6314 (patch) | |
tree | 49c28e963958bd37bbdfb59b019d6f9d121902c9 /drivers | |
parent | f7905be53749b20d9e78357a5721ca50635fa232 (diff) |
Fix claim of 2D register resourcegdrm-for-merging
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mfd/glamo/glamo-drm-drv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mfd/glamo/glamo-drm-drv.c b/drivers/mfd/glamo/glamo-drm-drv.c index ee648c13ac1..4f982ad2619 100644 --- a/drivers/mfd/glamo/glamo-drm-drv.c +++ b/drivers/mfd/glamo/glamo-drm-drv.c @@ -272,7 +272,8 @@ static int glamodrm_probe(struct platform_device *pdev) } /* Find the 2D engine */ - gdrm->twod_regs = platform_get_resource(pdev, IORESOURCE_MEM, 4); + gdrm->twod_regs = platform_get_resource_byname(pdev, IORESOURCE_MEM, + "glamo-2d-regs"); if ( !gdrm->twod_regs ) { dev_err(&pdev->dev, "Unable to find 2D registers.\n"); rc = -ENOENT; |