mfd: Staticise __adp5520_ack_bits()
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 19 Oct 2009 14:46:22 +0000 (15:46 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 13 Dec 2009 18:21:26 +0000 (19:21 +0100)
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>
drivers/mfd/adp5520.c

index 401a9b6029e3540e0d4ea903a161f409e7f6afd3..b26644772d02fee2fc32ef6dd97ed69d0c052f5b 100644 (file)
@@ -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;