commit | 1568c798065b09fd7197f9eb0f3a4438f2900a3a | [log] [tgz] |
---|---|---|
author | Armando Visconti <armando.visconti@st.com> | Thu Dec 06 00:04:19 2012 +0000 |
committer | Tom Rini <trini@ti.com> | Tue Dec 11 13:17:32 2012 -0700 |
tree | 1c8823718128fa2569467f2b2d445f11eabdbea3 | |
parent | 891a1c4260102348f9fda7a7a47bf220b3654de2 [diff] |
designware_i2c.h: Define IC_CLK only if not already defined in config file Signed-off-by: Armando Visconti <armando.visconti@st.com>
diff --git a/drivers/i2c/designware_i2c.h b/drivers/i2c/designware_i2c.h index 0dc8884..2faf4a8 100644 --- a/drivers/i2c/designware_i2c.h +++ b/drivers/i2c/designware_i2c.h
@@ -60,7 +60,9 @@ u32 ic_tx_abrt_source; }; +#if !defined(IC_CLK) #define IC_CLK 166 +#endif #define NANO_TO_MICRO 1000 /* High and low times in different speed modes (in ns) */