Message ID | tencent_6E44449C63FC79444F15220C7504BEFD4709@qq.com (mailing list archive) |
---|---|
State | Superseded, archived |
Headers | |
Series | [v2,01/16] bus/dpaa: add define guards to avoid multi-inclusion | |
Checks
Context | Check | Description |
---|---|---|
ci/checkpatch | success | coding style OK |
Commit Message
diff --git a/drivers/raw/ifpga/base/opae_at24_eeprom.h b/drivers/raw/ifpga/base/opae_at24_eeprom.h index caae9a3ec1..9d40b84304 100644 --- a/drivers/raw/ifpga/base/opae_at24_eeprom.h +++ b/drivers/raw/ifpga/base/opae_at24_eeprom.h @@ -3,6 +3,9 @@ * Copyright(c) 2010-2019 Intel Corporation */ +#ifndef OPAE_AT24_EEPROM_H +#define OPAE_AT24_EEPROM_H + #define AT24C512_PAGE_SIZE 128 #define AT24C512_IO_LIMIT 128 @@ -12,3 +15,5 @@ int at24_eeprom_read(struct altera_i2c_dev *dev, unsigned int slave_addr, u32 offset, u8 *buf, int count); int at24_eeprom_write(struct altera_i2c_dev *dev, unsigned int slave_addr, u32 offset, u8 *buf, int count); + +#endif /* OPAE_AT24_EEPROM_H */