aboutsummaryrefslogtreecommitdiff
path: root/drivers/i2c/at91_i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/at91_i2c.c')
-rw-r--r--drivers/i2c/at91_i2c.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/at91_i2c.c b/drivers/i2c/at91_i2c.c
index 846b3d5320b..c817ed6bf95 100644
--- a/drivers/i2c/at91_i2c.c
+++ b/drivers/i2c/at91_i2c.c
@@ -5,6 +5,7 @@
* (C) Copyright 2016 Songjun Wu <songjun.wu@atmel.com>
*/
+#include <malloc.h>
#include <asm/io.h>
#include <common.h>
#include <clk.h>