aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/mfd/glamo/glamo-drm-drv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/glamo/glamo-drm-drv.c b/drivers/mfd/glamo/glamo-drm-drv.c
index b389325235c..2421f104035 100644
--- a/drivers/mfd/glamo/glamo-drm-drv.c
+++ b/drivers/mfd/glamo/glamo-drm-drv.c
@@ -206,6 +206,7 @@ static int glamodrm_probe(struct platform_device *pdev)
return -ENOMEM;
platform_set_drvdata(pdev, gdrm);
gdrm->glamo_core = pdev->dev.platform_data;
+ gdrm->dev = &pdev->dev;
/* Find the command queue registers */
gdrm->reg = platform_get_resource(pdev, IORESOURCE_MEM, 0);