summaryrefslogtreecommitdiffstats
path: root/firmware/target/mips/ingenic_x1000/i2c-x1000.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/mips/ingenic_x1000/i2c-x1000.h')
-rw-r--r--firmware/target/mips/ingenic_x1000/i2c-x1000.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/mips/ingenic_x1000/i2c-x1000.h b/firmware/target/mips/ingenic_x1000/i2c-x1000.h
index e76624d511..9b9ba5e088 100644
--- a/firmware/target/mips/ingenic_x1000/i2c-x1000.h
+++ b/firmware/target/mips/ingenic_x1000/i2c-x1000.h
@@ -27,7 +27,7 @@
#define I2C_FREQ_100K 100000
#define I2C_FREQ_400K 400000
-extern void i2c_init(void);
+extern void i2c_init(void) INIT_ATTR;
/* Configure the I2C controller prior to use.
*