summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chip/g/i2cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/g/i2cs.c b/chip/g/i2cs.c
index 2df18acc88..55aca1e85a 100644
--- a/chip/g/i2cs.c
+++ b/chip/g/i2cs.c
@@ -259,7 +259,7 @@ static void poll_read_state(void)
}
/* Process the 'end of a write cycle' interrupt. */
-static void _i2cs_write_complete_int(void)
+void __attribute__((used)) _i2cs_write_complete_int(void)
{
/* Reset the IRQ condition. */
GWRITE_FIELD(I2CS, INT_STATE, INTR_WRITE_COMPLETE, 1);