summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2014-09-17 18:44:31 +0200
committerStefan Agner <stefan@agner.ch>2014-09-17 18:44:31 +0200
commit3188a1756dc1a60e3f311d24c242873a1291f86b (patch)
tree27221ec6f0995a225b37551bc49d15cdcc09fd4f /arch
parentbbfc60fb82c8b76b41d4d89d8ffcde1ebb3ed8eb (diff)
ARM: mvf: Complete I2C resource table for I2C1/I2C2Colibri_VF_LinuxImageV2.3Beta3_20141031
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.
Diffstat (limited to 'arch')
-rwxr-xr-xarch/arm/plat-mxc/devices/platform-imx-i2c.c2
1 files changed, 2 insertions, 0 deletions
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(