commit | d43f7ff69c867d943230fe7ac9352ebb9806df35 | [log] [tgz] |
---|---|---|
author | Alex Deucher <[email protected]> | Thu May 28 09:43:54 2020 -0400 |
committer | Alex Deucher <[email protected]> | Fri May 29 13:55:08 2020 -0400 |
tree | 99ed6cb30b041b0f480bcbdc5e72e30ab4b26935 | |
parent | 3967ae6d790887e72c55e5281094884c4f38ba88 [diff] |
drm/amdgpu/fru: fix header guard and include header Fix the fru eeprom header guard and include it in the .c file. Reviewed-by: Evan Quan <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c index 815c072..6ae80b3 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c
@@ -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
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.h index 968115c..f29a861 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.h
@@ -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);