From: Stephen Warren Date: Thu, 24 May 2012 16:47:26 +0000 (-0600) Subject: regmap: allow busses to request formatting with specific endianness X-Git-Tag: v3.6-rc1~158^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=141eba2e006dd8145bed2e49fae3de5af65ab9b0;p=pandora-kernel.git regmap: allow busses to request formatting with specific endianness Add a field to struct regmap_bus that allows bus drivers to request that register addresses and values be formatted with a specific endianness. The default endianness is unchanged from current operation: Big. Implement native endian formatting/parsing for 16- and 32-bit values. This will be enough to support regmap-mmio.c. Signed-off-by: Stephen Warren Signed-off-by: Mark Brown --- Reading git-diff-tree failed