Silent warning. Make static sono i2c table.
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 30 Jul 2010 12:40:12 +0000 (12:40 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 30 Jul 2010 12:40:12 +0000 (12:40 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4102 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/cpu/arm/drv/i2c_lpc2.c
bertos/cpu/cortex-m3/drv/i2c_lm3s.c
bertos/cpu/cortex-m3/drv/i2c_stm32.c

index 94de0c208ecd644a1d6b086c00ceb0357cb1ecb9..fd6a9fda45237c4a47d05225e852485b86101ce7 100644 (file)
@@ -265,7 +265,7 @@ static const I2cVT i2c_lpc_vt =
        .read = i2c_genericRead,
 };
 
-static const struct I2cHardware i2c_lpc2_hw[] =
+static struct I2cHardware i2c_lpc2_hw[] =
 {
        { /* I2C0 */
                .base = I2C0_BASE_ADDR,
index 22777582679ad8cb53f0bab2a84a5c922e518a5e..fd2f5905d4abe74a1ab802feda478b0806f35012 100644 (file)
@@ -205,7 +205,7 @@ static const I2cVT i2c_lm3s_vt =
        .read = i2c_genericRead,
 };
 
-struct I2cHardware i2c_lm3s_hw[] =
+static struct I2cHardware i2c_lm3s_hw[] =
 {
        { /* I2C0 */
                .base = I2C0_MASTER_BASE,
index 9fb1217153f3cfc01e77e5b42e48b56b314039c2..9fd53f0128e1ea249ad28101842a9ff4517267aa 100644 (file)
@@ -303,7 +303,7 @@ static const I2cVT i2c_stm32_vt =
        .read = i2c_genericRead,
 };
 
-struct I2cHardware i2c_stm32_hw[] =
+static struct I2cHardware i2c_stm32_hw[] =
 {
        { /* I2C1 */
                .base = (struct stm32_i2c *)I2C1_BASE,