]> Pileus Git - ~andy/linux/commitdiff
i2c-parport: i2c_parport_irq can be static
authorJean Delvare <khali@linux-fr.org>
Fri, 5 Oct 2012 20:23:53 +0000 (22:23 +0200)
committerJean Delvare <khali@endymion.delvare>
Fri, 5 Oct 2012 20:23:53 +0000 (22:23 +0200)
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;