]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
i2c-parport: i2c_parport_irq can be static
authorJean Delvare <khali@linux-fr.org>
Tue, 2 Oct 2012 00:00:58 +0000 (10:00 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 2 Oct 2012 00:00:58 +0000 (10:00 +1000)
i2c_parport_irq is only called internally so it can be static.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/i2c-parport.c

index 24565687ac9bc06548bfa8dd17bfb488bcd96291..81d887869620b40fafd3b21c76d85643a6247d0d 100644 (file)
@@ -151,7 +151,7 @@ static const struct i2c_algo_bit_data parport_algo_data = {
 
 /* ----- I2c and parallel port call-back functions and structures --------- */
 
-void i2c_parport_irq(void *data)
+static void i2c_parport_irq(void *data)
 {
        struct i2c_par *adapter = data;
        struct i2c_client *ara = adapter->ara;