Remove duplicate define. Put all phy chip specific defines in its
[bertos.git] / bertos / cpu / cortex-m3 / drv / i2c_lm3s.h
index 8d08e681b1cd538895ea301ddbddb7e42c817021..5a76f93ff61e63bab21e1079f62c22a922c3e02a 100644 (file)
@@ -32,6 +32,7 @@
  *
  * \brief Driver for the LM3S I2C (interface)
  *
+ * \author Daniele Basile <asterix@develer.com>
  */
 
 #ifndef I2C_LM3S_H
  */
 enum
 {
+#if CPU_CM3_LM3S1968
        I2C0,
        I2C1,
-
+#elif CPU_CM3_LM3S8962
+       I2C0,
+#enif
        I2C_CNT  /**< Number of serial ports */
 };
 
-void i2c_hw_init(I2c *i2c, int dev, uint32_t clock);
-void i2c_init_0(void);
 #endif /* I2C_LM3S_H */