drm/amdgpu: fix typo in amdgpu_discovery.c
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 22 Feb 2022 19:56:59 +0000 (14:56 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Feb 2022 19:26:36 +0000 (14:26 -0500)
disocvery -> discovery

Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c

index 2e0ff1a..e4fcbb3 100644 (file)
@@ -435,8 +435,8 @@ next_ip:
        }
 }
 
-static void amdgpu_disocvery_read_from_harvest_table(struct amdgpu_device *adev,
-                                               uint32_t *vcn_harvest_count)
+static void amdgpu_discovery_read_from_harvest_table(struct amdgpu_device *adev,
+                                                    uint32_t *vcn_harvest_count)
 {
        struct binary_header *bhdr;
        struct harvest_table *harvest_info;
@@ -1140,7 +1140,7 @@ void amdgpu_discovery_harvest_ip(struct amdgpu_device *adev)
                        amdgpu_discovery_read_harvest_bit_per_ip(adev,
                                &vcn_harvest_count);
        } else {
-               amdgpu_disocvery_read_from_harvest_table(adev,
+               amdgpu_discovery_read_from_harvest_table(adev,
                        &vcn_harvest_count);
        }