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>
This commit is contained in:
Jean Delvare 2012-10-05 22:23:53 +02:00 committed by Jean Delvare
parent bccd780f86
commit 7fe442a1a5

View File

@ -151,7 +151,7 @@ static const struct i2c_algo_bit_data parport_algo_data = {
/* ----- I2c and parallel port call-back functions and structures --------- */ /* ----- 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_par *adapter = data;
struct i2c_client *ara = adapter->ara; struct i2c_client *ara = adapter->ara;