aboutsummaryrefslogtreecommitdiff
path: root/drivers/i2c/ocores_i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/ocores_i2c.c')
-rw-r--r--drivers/i2c/ocores_i2c.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/ocores_i2c.c b/drivers/i2c/ocores_i2c.c
index 48ed1d5bffb..088ba9a6a3c 100644
--- a/drivers/i2c/ocores_i2c.c
+++ b/drivers/i2c/ocores_i2c.c
@@ -13,6 +13,7 @@
*/
#include <common.h>
+#include <asm/global_data.h>
#include <asm/io.h>
#include <clk.h>
#include <dm.h>