diff options
author | Kevin Cernekee <cernekee@gmail.com> | 2014-11-26 03:49:51 +0300 |
---|---|---|
committer | Florian Fainelli <f.fainelli@gmail.com> | 2014-11-29 02:44:43 +0300 |
commit | f80835875d3d1a4764711a90f6cc2669f037f527 (patch) | |
tree | 7b5cfaf8ac02554e5fda1b0b5e09c02d90108978 /lib/kstrtox.h | |
parent | 2b53eadcea05b680278f8d078b166e1e295e2a4f (diff) | |
download | linux-f80835875d3d1a4764711a90f6cc2669f037f527.tar.xz |
bus: brcmstb_gisb: Look up register offsets in a table
There are at least 4 incompatible variations of this hardware block,
so let's use the ARB_* constants as a table index instead of hardcoding
specific register offsets. Also, allow for the possibility of adding
old devices that are missing some of the registers.
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'lib/kstrtox.h')
0 files changed, 0 insertions, 0 deletions