arch/artik053: add a conditional on alc5658 header file
For every header file, checking a conditional is needed to prevent
duplicated including header file. That is missed in artik053_alc5658_i2c.h.
*
****************************************************************************/
+#ifndef __ARCH_ARM_SRC_ARTIK053_INCLUDE_ARTIK053_ALC5658_I2C_H
+#define __ARCH_ARM_SRC_ARTIK053_INCLUDE_ARTIK053_ALC5658_I2C_H
typedef int (*alc_write)(uint16_t addr, uint16_t data);
typedef int (*alc_read)(uint16_t addr, uint16_t *data);
typedef int (*alc_modify)(uint16_t addr, uint16_t set, uint16_t clear);
@@ -27,3 +29,4 @@ typedef struct {
} i2c_alc;
i2c_alc *alc5658_i2c_initialize(void);
+#endif /* __ARCH_ARM_SRC_ARTIK053_INCLUDE_ARTIK053_ALC5658_I2C_H */
