From 3188a1756dc1a60e3f311d24c242873a1291f86b Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Wed, 17 Sep 2014 18:44:31 +0200 Subject: ARM: mvf: Complete I2C resource table for I2C1/I2C2 The resources for the I2C1 and I2C2 instance were missing. When adding them from the board file, this could lead to a not working instance of the I2C driver or other undefined behaviour. --- arch/arm/plat-mxc/devices/platform-imx-i2c.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/plat-mxc/devices/platform-imx-i2c.c b/arch/arm/plat-mxc/devices/platform-imx-i2c.c index 215f3b6157bb..91a80968b8b3 100755 --- a/arch/arm/plat-mxc/devices/platform-imx-i2c.c +++ b/arch/arm/plat-mxc/devices/platform-imx-i2c.c @@ -113,6 +113,8 @@ const struct imx_imx_i2c_data mvf_i2c_data[] __initconst = { #define mvf_i2c_data_entry(_id, _hwid) \ imx_imx_i2c_data_entry(MVF, _id, _hwid, SZ_4K) mvf_i2c_data_entry(0, 0), + mvf_i2c_data_entry(1, 1), + mvf_i2c_data_entry(2, 2), }; #endif struct platform_device *__init imx_add_imx_i2c( -- cgit v1.2.3