drm/amdgpu: s/disp_detetion_ports/disp_detection_ports/
authorLyude Paul <lyude@redhat.com>
Tue, 26 Jun 2018 01:09:05 +0000 (21:09 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Jul 2018 21:38:57 +0000 (16:38 -0500)
Fix typo.

Reviewed-by: Jim Qu <Jim.Qu@amd.com>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c

index daa06e7c5bb73e2d4073fad2177bf50eee0be006..a3896412a019a33085cdf0f67e3ac869cfe5b085 100644 (file)
@@ -32,7 +32,7 @@ struct amdgpu_atpx_functions {
        bool switch_start;
        bool switch_end;
        bool disp_connectors_mapping;
-       bool disp_detetion_ports;
+       bool disp_detection_ports;
 };
 
 struct amdgpu_atpx {
@@ -156,7 +156,7 @@ static void amdgpu_atpx_parse_functions(struct amdgpu_atpx_functions *f, u32 mas
        f->switch_start = mask & ATPX_GRAPHICS_DEVICE_SWITCH_START_NOTIFICATION_SUPPORTED;
        f->switch_end = mask & ATPX_GRAPHICS_DEVICE_SWITCH_END_NOTIFICATION_SUPPORTED;
        f->disp_connectors_mapping = mask & ATPX_GET_DISPLAY_CONNECTORS_MAPPING_SUPPORTED;
-       f->disp_detetion_ports = mask & ATPX_GET_DISPLAY_DETECTION_PORTS_SUPPORTED;
+       f->disp_detection_ports = mask & ATPX_GET_DISPLAY_DETECTION_PORTS_SUPPORTED;
 }
 
 /**