OSDN Git Service

drm/amd/display: remove redundant CONFIG_DRM_AMD_DC_DCN in gpio
authorAlex Hung <alex.hung@amd.com>
Mon, 25 Apr 2022 19:40:05 +0000 (13:40 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 May 2022 21:53:12 +0000 (17:53 -0400)
commit79e03f29fc84db76f78834b1f73ed329b377d753
tree3e3946d42f37d3dec8c910006af17daab620b82d
parenta58cda030231c5e6f70ef376975fbdf3dc0cfda3
drm/amd/display: remove redundant CONFIG_DRM_AMD_DC_DCN in gpio

[Why & How]
CONFIG_DRM_AMD_DC_DCN is used by pass the compilation failures, but DC
code should be OS-agnostic.

This patch fixes it by removing unnecessasry CONFIG_DRM_AMD_DC_DCN
in gpio directory.

Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Acked-by: Stylon Wang <stylon.wang@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/gpio/Makefile
drivers/gpu/drm/amd/display/dc/gpio/dcn30/hw_factory_dcn30.c
drivers/gpu/drm/amd/display/dc/gpio/dcn30/hw_factory_dcn30.h
drivers/gpu/drm/amd/display/dc/gpio/dcn30/hw_translate_dcn30.c
drivers/gpu/drm/amd/display/dc/gpio/dcn30/hw_translate_dcn30.h
drivers/gpu/drm/amd/display/dc/gpio/hw_factory.c
drivers/gpu/drm/amd/display/dc/gpio/hw_translate.c