Peng Fan
c36ecf3abf
i2c:mxc fix array size of i2c_data
...
We should not hardcode array size of i2c_data to 3. To CONFIG_FSL_LSCH3,
there are 4 i2c interface, but not 3. So the size of i2c_data array should
be calculated using "ARRAY_SIZE(i2c_bases)".
To avoid compile error, move i2c_bases before sram_data structure which
contains i2c_data array.
Signed-off-by: Peng Fan <Peng.Fan@freescale.com >
2015-01-08 11:00:45 -05:00
..
2014-12-13 15:08:04 -07:00
2015-01-05 15:13:46 -05:00
2014-07-22 16:25:54 -07:00
2014-12-11 13:18:43 -07:00
2014-12-15 09:16:26 -08:00
2014-12-15 09:15:12 -08:00
2014-09-24 18:30:29 -04:00
2014-12-18 12:26:06 +01:00
2014-11-06 11:04:39 -05:00
2014-11-23 06:49:04 -05:00
2014-12-18 17:26:06 -07:00
2014-09-24 18:30:28 -04:00
2015-01-08 11:00:45 -05:00
2015-01-05 17:45:16 -07:00
2015-01-05 17:45:15 -07:00
2015-01-06 10:10:28 +02:00
2015-01-05 16:40:18 -05:00
2015-01-05 12:08:51 -05:00
2014-12-18 13:19:20 -07:00
2015-01-05 12:08:55 -05:00
2014-12-18 13:19:20 -07:00
2014-07-23 12:25:42 +02:00
2014-12-15 09:16:49 -08:00
2015-01-05 12:08:55 -05:00
2014-12-18 17:26:08 -07:00
2014-10-23 11:27:28 -04:00
2014-09-24 18:30:28 -04:00
2014-12-31 14:52:32 +05:30
2014-12-01 10:20:18 +01:00
2014-12-08 09:35:46 -05:00
2014-12-31 19:10:13 +01:00
2015-01-05 12:08:52 -05:00
2014-09-24 18:30:28 -04:00
2014-09-24 18:30:28 -04:00
2014-11-26 11:23:26 -05:00