Skip to content

Commit 782f0bb

Browse files
Wesley Chalmersalexdeucher
authored andcommitted
drm/amd/display: Rename header file link.h to link_service.h
[WHY] Header file name "link.h" collides with system header when dc is compiled as a user-mode library [WHAT] Rename link.h to link_service.h to avoid name collision Reviewed-by: Alvin Lee <alvin.lee2@amd.com> Signed-off-by: Wesley Chalmers <Wesley.Chalmers@amd.com> Signed-off-by: Ray Wu <ray.wu@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 18e7551 commit 782f0bb

File tree

69 files changed

+73
-72
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+73
-72
lines changed

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_replay.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#include "amdgpu_dm.h"
3232
#include "modules/power/power_helpers.h"
3333
#include "dmub/inc/dmub_cmd.h"
34-
#include "dc/inc/link.h"
34+
#include "dc/inc/link_service.h"
3535

3636
/*
3737
* amdgpu_dm_link_supports_replay() - check if the link supports replay

drivers/gpu/drm/amd/display/dc/clk_mgr/clk_mgr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#include "dccg.h"
2929
#include "clk_mgr_internal.h"
3030
#include "dc_state_priv.h"
31-
#include "link.h"
31+
#include "link_service.h"
3232

3333
#include "dce100/dce_clk_mgr.h"
3434
#include "dce110/dce110_clk_mgr.h"

drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
#include "dcn30/dcn30_clk_mgr.h"
4848

4949
#include "dc_dmub_srv.h"
50-
#include "link.h"
50+
#include "link_service.h"
5151

5252
#include "logger_types.h"
5353

drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/dcn314_clk_mgr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
#include "dcn31/dcn31_clk_mgr.h"
4949

5050
#include "dc_dmub_srv.h"
51-
#include "link.h"
51+
#include "link_service.h"
5252
#include "dcn314_smu.h"
5353

5454

drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
#define DC_LOGGER \
4747
clk_mgr->base.base.ctx->logger
4848

49-
#include "link.h"
49+
#include "link_service.h"
5050

5151
#define TO_CLK_MGR_DCN315(clk_mgr)\
5252
container_of(clk_mgr, struct clk_mgr_dcn315, base)

drivers/gpu/drm/amd/display/dc/clk_mgr/dcn316/dcn316_clk_mgr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
#include "dcn316_smu.h"
4040
#include "dm_helpers.h"
4141
#include "dc_dmub_srv.h"
42-
#include "link.h"
42+
#include "link_service.h"
4343

4444
// DCN316 this is CLK1 instance
4545
#define MAX_INSTANCE 7

drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/dcn32_clk_mgr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
#include "reg_helper.h"
3434
#include "core_types.h"
3535
#include "dm_helpers.h"
36-
#include "link.h"
36+
#include "link_service.h"
3737
#include "dc_state_priv.h"
3838
#include "atomfirmware.h"
3939
#include "dcn32_smu13_driver_if.h"

drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
#include "dcn31/dcn31_clk_mgr.h"
4545

4646
#include "dc_dmub_srv.h"
47-
#include "link.h"
47+
#include "link_service.h"
4848
#include "logger_types.h"
4949

5050
#undef DC_LOGGER

drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#include "reg_helper.h"
1414
#include "core_types.h"
1515
#include "dm_helpers.h"
16-
#include "link.h"
16+
#include "link_service.h"
1717
#include "dc_state_priv.h"
1818
#include "atomfirmware.h"
1919

drivers/gpu/drm/amd/display/dc/core/dc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
#include "link_encoder.h"
6161
#include "link_enc_cfg.h"
6262

63-
#include "link.h"
63+
#include "link_service.h"
6464
#include "dm_helpers.h"
6565
#include "mem_input.h"
6666

0 commit comments

Comments
 (0)