i2c: dw: fix compilation error

This was missing an include file, which caused the macro to not
be expanded correctly. Including init.h fixes the issue.

Change-Id: I6b190e0c75828d9b6eb42a84c213dfc174510740
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2015-09-19 15:30:37 -07:00 committed by Anas Nashif
commit a5876981fe

View file

@ -611,6 +611,8 @@ int dw_i2c_initialize(struct device *port)
/* system bindings */
#if CONFIG_DW_I2C0
#include <init.h>
void i2c_config_0_irq(struct device *port);
struct dw_i2c_rom_config i2c_config_dw_0 = {