From: Jean Delvare Date: Tue, 2 Oct 2012 00:00:58 +0000 (+1000) Subject: i2c-parport: i2c_parport_irq can be static X-Git-Tag: next-20121002~73^2~1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1962e6ca30bad4eb7ebe160513288d58d61eb04c;p=karo-tx-linux.git 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 --- diff --git a/drivers/i2c/busses/i2c-parport.c b/drivers/i2c/busses/i2c-parport.c index 24565687ac9b..81d887869620 100644 --- a/drivers/i2c/busses/i2c-parport.c +++ b/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;