From: Maxime Ripard Date: Wed, 12 Jun 2013 16:53:31 +0000 (+0200) Subject: i2c: mv64xxx: make the registers offset configurable X-Git-Tag: v3.11-rc1~87^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=004e8ed7cc67f4ba07cba95af269210db11a544c;p=pandora-kernel.git i2c: mv64xxx: make the registers offset configurable The Allwinner i2c controller uses the same logic as the Marvell one, but with slightly different register offsets. Introduce a structure that will be passed by either the pdata or associated to the compatible strings, and that holds the various registers that might be needed. Signed-off-by: Maxime Ripard Tested-by: Sebastian Hesselbarth Tested-by: Andrew Lunn Signed-off-by: Wolfram Sang --- Reading git-diff-tree failed