From: Jonas Aaberg Date: Fri, 11 Nov 2011 06:52:10 +0000 (+0100) Subject: mfd: ab8500-sysctrl: export read/write symbols X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c73db9f7a20c3b6a7026cbb70df2603aa2ce2e5a;p=linux-beck.git 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 Signed-off-by: Jonas Aaberg Reviewed-by: Bengt JONSSON --- 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) return abx500_get_register_interruptible(sysctrl_dev, bank, (u8)(reg & 0xFF), value); } +EXPORT_SYMBOL(ab8500_sysctrl_read); 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, (u8)(reg & 0xFF), mask, value); } +EXPORT_SYMBOL(ab8500_sysctrl_write); static int ab8500_sysctrl_probe(struct platform_device *pdev) {