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>2012-01-11 21:39:24 +0800
commit72efba263987891a9e252ac52f18c49a3adc715c (patch)
treed25a47905d3b219def5d74005367932c5fdd7440
parent07aede42ca7714453009892477efa1a7f164e1d4 (diff)
downloadlinux-linaro-72efba263987891a9e252ac52f18c49a3adc715c.tar.gz
SAUCE: fix hdmi registration failure
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 1ecdc0d9d8e..a211cd0f087 100644
--- a/drivers/mfd/mxc-hdmi-core.c
+++ b/drivers/mfd/mxc-hdmi-core.c
@@ -518,11 +518,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;