diff options
author | Jonas Aaberg <jonas.aberg@stericsson.com> | 2011-11-11 01:52:10 -0500 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2013-02-04 03:31:33 -0500 |
commit | c73db9f7a20c3b6a7026cbb70df2603aa2ce2e5a (patch) | |
tree | 4e5e259e410330acbf584b09664bfc9c0ca3f5fd /drivers/mfd | |
parent | 1abf063ffd18e6934bb81a776b3d71278eeff4ab (diff) |
mfd: ab8500-sysctrl: export read/write symbols
Export ab8500_sysctrl_read() and ab8500_sysctrl_write() symobols.
They will be used by LTP test cases.
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-by: Bengt JONSSON <bengt.g.jonsson@stericsson.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/ab8500-sysctrl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/ab8500-sysctrl.c b/drivers/mfd/ab8500-sysctrl.c index 236324e1136d..108fd86552f0 100644 --- a/drivers/mfd/ab8500-sysctrl.c +++ b/drivers/mfd/ab8500-sysctrl.c | |||
@@ -94,6 +94,7 @@ int ab8500_sysctrl_read(u16 reg, u8 *value) | |||
94 | return abx500_get_register_interruptible(sysctrl_dev, bank, | 94 | return abx500_get_register_interruptible(sysctrl_dev, bank, |
95 | (u8)(reg & 0xFF), value); | 95 | (u8)(reg & 0xFF), value); |
96 | } | 96 | } |
97 | EXPORT_SYMBOL(ab8500_sysctrl_read); | ||
97 | 98 | ||
98 | int ab8500_sysctrl_write(u16 reg, u8 mask, u8 value) | 99 | int ab8500_sysctrl_write(u16 reg, u8 mask, u8 value) |
99 | { | 100 | { |
@@ -109,6 +110,7 @@ int ab8500_sysctrl_write(u16 reg, u8 mask, u8 value) | |||
109 | return abx500_mask_and_set_register_interruptible(sysctrl_dev, bank, | 110 | return abx500_mask_and_set_register_interruptible(sysctrl_dev, bank, |
110 | (u8)(reg & 0xFF), mask, value); | 111 | (u8)(reg & 0xFF), mask, value); |
111 | } | 112 | } |
113 | EXPORT_SYMBOL(ab8500_sysctrl_write); | ||
112 | 114 | ||
113 | static int ab8500_sysctrl_probe(struct platform_device *pdev) | 115 | static int ab8500_sysctrl_probe(struct platform_device *pdev) |
114 | { | 116 | { |