From: Paul Mundt Date: Wed, 20 Jun 2012 15:03:41 +0000 (+0900) Subject: sh: pfc: Verify pin type encoding size at build time. X-Git-Tag: v3.6-rc1~131^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06d5631f56460917af3d9417ef63811cf0cad9ce;p=pandora-kernel.git sh: pfc: Verify pin type encoding size at build time. The encoding is tightly packed, and future changes (such as pinconf-generic support) can easily lead to a situation where we violate the encoding constraints and trample data bit/reg bits. This plugs in some sanity checks by way of a BUILD_BUG_ON() to blow up if we fail to fit. Signed-off-by: Paul Mundt --- Reading git-diff-tree failed