From: Magnus Damm Date: Tue, 13 Dec 2011 16:01:05 +0000 (+0900) Subject: sh: pfc: Variable bitfield width config register support X-Git-Tag: v3.3-rc1~90^2~2^3~11^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f78a26f55b2438c439609fc90b473f7f08f5b697;p=pandora-kernel.git sh: pfc: Variable bitfield width config register support Add support for variable config reg hardware by adding the macro PINMUX_CFG_REG_VAR(). The width of each bitfield needs to be passed to the macro, and the correct space must be consumed by each bitfield in the enum table following the macro. Data registers still need to have fixed bitfields. Signed-off-by: Magnus Damm Signed-off-by: Paul Mundt --- Reading git-diff-tree failed