[PATCH 1/2] drm/exynos: hdmi: Add CONFIG_OF and use of_match_ptr() macro

2012-12-12 Thread Sachin Kamat
Add CONFIG_OF to compile conditionally. of_match_ptr eliminates having an #ifdef returning NULL for the case when OF is disabled. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_ddc.c |4 +++- drivers/gpu/drm/exynos/exynos_hdmi.c|4 +++- drivers/gpu/drm/exynos/exyno

[PATCH 1/2] drm/exynos: hdmi: Add CONFIG_OF and use of_match_ptr() macro

2012-12-12 Thread Sachin Kamat
Add CONFIG_OF to compile conditionally. of_match_ptr eliminates having an #ifdef returning NULL for the case when OF is disabled. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_ddc.c |4 +++- drivers/gpu/drm/exynos/exynos_hdmi.c|4 +++- drivers/gpu/drm/exynos/exyno