diff options
author | Marcus Cooper <marcus.xm.cooper@stericsson.com> | 2012-08-29 15:56:19 (GMT) |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2013-03-07 04:35:50 (GMT) |
commit | b3ea5f451e4e435b650e34142f8552002dc21297 (patch) | |
tree | f02eb06806e55f73691f157d716dc0f14be234c6 /include/linux | |
parent | 257107ae6b9ba1f3822a8b079acef57a752dcc4c (diff) | |
download | linux-fsl-qoriq-b3ea5f451e4e435b650e34142f8552002dc21297.tar.xz |
ab8500-charger: Add UsbLineCtrl2 reference
When the state of USB Charge detection is changed then the calls
use a define for another register in other bank. This change
creates a new define for the correct register and removes the
magic numbers that are present.
Signed-off-by: Marcus Cooper <marcus.xm.cooper@stericsson.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Reviewed-by: Hakan BERG <hakan.berg@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/mfd/abx500/ab8500-bm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/abx500/ab8500-bm.h b/include/linux/mfd/abx500/ab8500-bm.h index ee1c162..f5214dc 100644 --- a/include/linux/mfd/abx500/ab8500-bm.h +++ b/include/linux/mfd/abx500/ab8500-bm.h @@ -23,6 +23,7 @@ * Bank : 0x5 */ #define AB8500_USB_LINE_STAT_REG 0x80 +#define AB8500_USB_LINE_CTRL2_REG 0x82 #define AB8500_USB_LINK1_STAT_REG 0x94 /* |