From d3e128d229c5febb9c36046f9d745214bc38710c Mon Sep 17 00:00:00 2001 From: Harry Wentland Date: Fri, 18 Dec 2015 11:06:05 -0500 Subject: [PATCH 1224/1565] drm/amd/dal: Guard ASIC specific functions in display_clock header Guarding unguarded ASIC specific function headers in display_clock_interface.h. These should probably be moved to ASIC specific files. Change-Id: I9e095f0860df2c9fb035f31b8e473268cc391c56 Signed-off-by: Harry Wentland Acked-by: Harry Wentland --- drivers/gpu/drm/amd/dal/include/display_clock_interface.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/amd/dal/include/display_clock_interface.h b/drivers/gpu/drm/amd/dal/include/display_clock_interface.h index 2f48b8a..f3a1cee 100644 --- a/drivers/gpu/drm/amd/dal/include/display_clock_interface.h +++ b/drivers/gpu/drm/amd/dal/include/display_clock_interface.h @@ -132,13 +132,17 @@ struct display_clock_state { struct display_clock; +#if defined(CONFIG_DRM_AMD_DAL_DCE11_0) struct display_clock *dal_display_clock_dce110_create( struct dc_context *ctx, struct adapter_service *as); +#endif +#if defined(CONFIG_DRM_AMD_DAL_DCE8_0) struct display_clock *dal_display_clock_dce80_create( struct dc_context *ctx, struct adapter_service *as); +#endif void dal_display_clock_destroy(struct display_clock **to_destroy); bool dal_display_clock_validate( -- 1.9.1