drm/amd/powerplay: fix spelling mistake "smu_state_memroy_block" -> "smu_state_memory...
authorColin Ian King <colin.king@canonical.com>
Mon, 23 Nov 2020 10:54:17 +0000 (10:54 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 24 Nov 2020 17:09:54 +0000 (12:09 -0500)
The struct name smu_state_memroy_block contains a spelling mistake, rename
it to smu_state_memory_block

Fixes: 8554e67d6e22 ("drm/amd/powerplay: implement power_dpm_state sys interface for SMU11")
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/inc/amdgpu_smu.h

index 7550757..a559ea2 100644 (file)
@@ -99,7 +99,7 @@ struct smu_state_display_block {
        bool              enable_vari_bright;
 };
 
-struct smu_state_memroy_block {
+struct smu_state_memory_block {
        bool              dll_off;
        uint8_t                 m3arb;
        uint8_t                 unused[3];
@@ -146,7 +146,7 @@ struct smu_power_state {
        struct smu_state_validation_block             validation;
        struct smu_state_pcie_block                   pcie;
        struct smu_state_display_block                display;
-       struct smu_state_memroy_block                 memory;
+       struct smu_state_memory_block                 memory;
        struct smu_state_software_algorithm_block     software;
        struct smu_uvd_clocks                         uvd_clocks;
        struct smu_hw_power_state                     hardware;