Browse Source

i2c-parport: i2c_parport_irq can be static

i2c_parport_irq is only called internally so it can be static.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Jean Delvare 12 years ago
parent
commit
7fe442a1a5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/i2c/busses/i2c-parport.c

+ 1 - 1
drivers/i2c/busses/i2c-parport.c

@@ -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;