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>
This commit is contained in:
parent
1abf063ffd
commit
c73db9f7a2
1 changed files with 2 additions and 0 deletions
|
@ -94,6 +94,7 @@ int ab8500_sysctrl_read(u16 reg, u8 *value)
|
||||||
return abx500_get_register_interruptible(sysctrl_dev, bank,
|
return abx500_get_register_interruptible(sysctrl_dev, bank,
|
||||||
(u8)(reg & 0xFF), value);
|
(u8)(reg & 0xFF), value);
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL(ab8500_sysctrl_read);
|
||||||
|
|
||||||
int ab8500_sysctrl_write(u16 reg, u8 mask, u8 value)
|
int ab8500_sysctrl_write(u16 reg, u8 mask, u8 value)
|
||||||
{
|
{
|
||||||
|
@ -109,6 +110,7 @@ int ab8500_sysctrl_write(u16 reg, u8 mask, u8 value)
|
||||||
return abx500_mask_and_set_register_interruptible(sysctrl_dev, bank,
|
return abx500_mask_and_set_register_interruptible(sysctrl_dev, bank,
|
||||||
(u8)(reg & 0xFF), mask, value);
|
(u8)(reg & 0xFF), mask, value);
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL(ab8500_sysctrl_write);
|
||||||
|
|
||||||
static int ab8500_sysctrl_probe(struct platform_device *pdev)
|
static int ab8500_sysctrl_probe(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue