Message ID | 20200123114556.v3.3.I8ae988bc25a8b9ae27d647c4b50a05c1f630e0bb@changeid |
---|---|
State | Accepted |
Commit | afb88651a689aa0aed67c4cf439f1dc0d8803d5a |
Headers | show |
Series | i2c: designware_ic2: Improvements to timing and general cleanup | expand |
diff --git a/drivers/i2c/designware_i2c.c b/drivers/i2c/designware_i2c.c index b8cdd1c661..138fc72561 100644 --- a/drivers/i2c/designware_i2c.c +++ b/drivers/i2c/designware_i2c.c @@ -4,8 +4,8 @@ * Vipin Kumar, ST Micoelectronics, vipin.kumar at st.com. */ -#include <clk.h> #include <common.h> +#include <clk.h> #include <dm.h> #include <i2c.h> #include <pci.h> diff --git a/drivers/i2c/designware_i2c.h b/drivers/i2c/designware_i2c.h index 10fb7d7d3e..aade5c2da0 100644 --- a/drivers/i2c/designware_i2c.h +++ b/drivers/i2c/designware_i2c.h @@ -7,6 +7,7 @@ #ifndef __DW_I2C_H_ #define __DW_I2C_H_ +#include <clk.h> #include <reset.h> struct i2c_regs {