drm/amdgpu/fru: fix header guard and include header
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 28 May 2020 13:43:54 +0000 (09:43 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 29 May 2020 17:55:08 +0000 (13:55 -0400)
Fix the fru eeprom header guard and include it in the .c file.

Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c
drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.h

index 815c072ac4da66196100a59d7660209b5787b1f2..6ae80b33182c81d40f21cd872d260c9938b51999 100644 (file)
@@ -26,6 +26,7 @@
 #include "amdgpu_i2c.h"
 #include "smu_v11_0_i2c.h"
 #include "atom.h"
+#include "amdgpu_fru_eeprom.h"
 
 #define I2C_PRODUCT_INFO_ADDR          0xAC
 #define I2C_PRODUCT_INFO_ADDR_SIZE     0x2
index 968115c97e338c34fd066831888353b7f1814695..f29a8611d69b073fdbb4606e5470bf8a3114dac3 100644 (file)
@@ -21,8 +21,8 @@
  *
  */
 
-#ifndef __AMDGPU_PRODINFO_H__
-#define __AMDGPU_PRODINFO_H__
+#ifndef __AMDGPU_FRU_EEPROM_H__
+#define __AMDGPU_FRU_EEPROM_H__
 
 int amdgpu_fru_get_product_info(struct amdgpu_device *adev);