summaryrefslogtreecommitdiff
path: root/drivers/mfd/adp5520.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2009-10-19 15:46:22 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2009-12-13 19:21:26 +0100
commit4e8b70265c069544beb5a63b38544b53035b395e (patch)
tree6d0f9f20ec2da99d69e505fb6fca8a7ceab4ab53 /drivers/mfd/adp5520.c
parent56baa667973e53d6d38af2ad3731d558566d818b (diff)
downloadlinux-3.10-4e8b70265c069544beb5a63b38544b53035b395e.tar.gz
linux-3.10-4e8b70265c069544beb5a63b38544b53035b395e.tar.bz2
linux-3.10-4e8b70265c069544beb5a63b38544b53035b395e.zip
mfd: Staticise __adp5520_ack_bits()
The function is not exported as the __ indicates. __ Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/adp5520.c')
-rw-r--r--drivers/mfd/adp5520.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mfd/adp5520.c b/drivers/mfd/adp5520.c
index 401a9b6029e..b26644772d0 100644
--- a/drivers/mfd/adp5520.c
+++ b/drivers/mfd/adp5520.c
@@ -66,7 +66,8 @@ static int __adp5520_write(struct i2c_client *client,
return 0;
}
-int __adp5520_ack_bits(struct i2c_client *client, int reg, uint8_t bit_mask)
+static int __adp5520_ack_bits(struct i2c_client *client, int reg,
+ uint8_t bit_mask)
{
struct adp5520_chip *chip = i2c_get_clientdata(client);
uint8_t reg_val;