aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/sh/Kconfig
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2012-06-21 00:03:41 +0900
committerPaul Mundt <lethal@linux-sh.org>2012-06-21 00:03:41 +0900
commit06d5631f56460917af3d9417ef63811cf0cad9ce (patch)
treea25eee33f3198c4ba75c79b51a3bc85fd10a5f50 /drivers/sh/Kconfig
parentsh: pfc: Kill off unused pinmux bias flags. (diff)
downloadlinux-dev-06d5631f56460917af3d9417ef63811cf0cad9ce.tar.xz
linux-dev-06d5631f56460917af3d9417ef63811cf0cad9ce.zip
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 <lethal@linux-sh.org>
Diffstat (limited to 'drivers/sh/Kconfig')
0 files changed, 0 insertions, 0 deletions