aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Miao <eric.miao@linaro.org>2011-12-16 17:49:19 +0800
committerEric Miao <eric.miao@linaro.org>2011-12-16 17:49:19 +0800
commit18692355d167a9dc2ef5ab4cdc1d180046efdfad (patch)
tree0abe5e3d7ad0cc034b12528a47ea2adcd9bd8b8b
parentbbc56915e53c6cb54356abcaa26123a496c78134 (diff)
downloadlinux-linaro-backup/lt-3.2-imx6.tar.gz
SAUCE: fix hdmi registration failurebackup/lt-3.2-imx6
Signed-off-by: Eric Miao <eric.miao@linaro.org>
-rw-r--r--drivers/mfd/mxc-hdmi-core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/mxc-hdmi-core.c b/drivers/mfd/mxc-hdmi-core.c
index f9cb48b5ffe..4f93bbf4642 100644
--- a/drivers/mfd/mxc-hdmi-core.c
+++ b/drivers/mfd/mxc-hdmi-core.c
@@ -519,11 +519,13 @@ static int mxc_hdmi_core_probe(struct platform_device *pdev)
/* register hdmi video */
res = platform_get_resource(pdev, IORESOURCE_IRQ, 0);
pdevinfo_hdmi_v.name = "mxc_hdmi";
+ pdevinfo_hdmi_v.id = pdev->id;
pdevinfo_hdmi_v.res = res;
pdevinfo_hdmi_v.num_res = 1;
pdevinfo_hdmi_v.data = &hdmi_vdata;
pdevinfo_hdmi_v.size_data = sizeof(hdmi_vdata);
pdevinfo_hdmi_v.dma_mask = DMA_BIT_MASK(32);
+ pdevinfo_hdmi_v.parent = &pdev->dev;
platform_device_register_full(&pdevinfo_hdmi_v);
return ret;