diff options
author | Magnus Damm | 2011-12-13 17:00:55 +0100 |
---|---|---|
committer | Paul Mundt | 2012-01-09 01:33:52 +0100 |
commit | 18925e118b3b4d55b45711218cd3c3c4360e5cd1 (patch) | |
tree | 4cd9f84cc6f2343f3d97093976de1dc7be75bd2e /include/linux/sh_pfc.h | |
parent | sh: pfc: Convert index to field and value pair (diff) | |
download | kernel-qcow2-linux-18925e118b3b4d55b45711218cd3c3c4360e5cd1.tar.gz kernel-qcow2-linux-18925e118b3b4d55b45711218cd3c3c4360e5cd1.tar.xz kernel-qcow2-linux-18925e118b3b4d55b45711218cd3c3c4360e5cd1.zip |
sh: pfc: Add config_reg_helper() function
Add a helper function for shared config reg access
calculations. This allows us to reduce the amount
of duplicated code, and at the same time prepare
for a common place for future variable bitwidth
config reg support.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/linux/sh_pfc.h')
0 files changed, 0 insertions, 0 deletions