diff options
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_hdmi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index e009216e4a3c..2c46b6c0b82c 100644 --- a/drivers/gpu/drm/exynos/exynos_hdmi.c +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c | |||
@@ -2502,6 +2502,8 @@ static int __devinit hdmi_probe(struct platform_device *pdev) | |||
2502 | const struct of_device_id *match; | 2502 | const struct of_device_id *match; |
2503 | match = of_match_node(of_match_ptr(hdmi_match_types), | 2503 | match = of_match_node(of_match_ptr(hdmi_match_types), |
2504 | pdev->dev.of_node); | 2504 | pdev->dev.of_node); |
2505 | if (match == NULL) | ||
2506 | return -ENODEV; | ||
2505 | hdata->type = (enum hdmi_type)match->data; | 2507 | hdata->type = (enum hdmi_type)match->data; |
2506 | } else { | 2508 | } else { |
2507 | hdata->type = (enum hdmi_type)platform_get_device_id | 2509 | hdata->type = (enum hdmi_type)platform_get_device_id |