i2c: imx: add struct to hold more configurable quirks
authorJingchang Lu <b35083@freescale.com>
Wed, 7 Aug 2013 09:05:42 +0000 (17:05 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 15 Aug 2013 14:14:19 +0000 (16:14 +0200)
commit4b775022f6fdcfba6d219f46b2606e77a0dc38d9
tree39f8db4493dc4d2d2132686b6a374400e931cc7c
parent171408c21149dd3fd2ed33f19afe2cd558269253
i2c: imx: add struct to hold more configurable quirks

This add struct imx_i2c_hwdata to hold more quirks data
which may vary between SoCs, thus the driver can operate
on more differences to support more SoCs.

Signed-off-by: Jingchang Lu <b35083@freescale.com>
Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-imx.c