提交 d43f7ff6 编写于 作者: A Alex Deucher

drm/amdgpu/fru: fix header guard and include header

Fix the fru eeprom header guard and include it in the .c file.
Reviewed-by: NEvan Quan <evan.quan@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 3967ae6d
无相关合并请求
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include "amdgpu_i2c.h" #include "amdgpu_i2c.h"
#include "smu_v11_0_i2c.h" #include "smu_v11_0_i2c.h"
#include "atom.h" #include "atom.h"
#include "amdgpu_fru_eeprom.h"
#define I2C_PRODUCT_INFO_ADDR 0xAC #define I2C_PRODUCT_INFO_ADDR 0xAC
#define I2C_PRODUCT_INFO_ADDR_SIZE 0x2 #define I2C_PRODUCT_INFO_ADDR_SIZE 0x2
......
...@@ -21,8 +21,8 @@ ...@@ -21,8 +21,8 @@
* *
*/ */
#ifndef __AMDGPU_PRODINFO_H__ #ifndef __AMDGPU_FRU_EEPROM_H__
#define __AMDGPU_PRODINFO_H__ #define __AMDGPU_FRU_EEPROM_H__
int amdgpu_fru_get_product_info(struct amdgpu_device *adev); int amdgpu_fru_get_product_info(struct amdgpu_device *adev);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部