Skip to content

Commit

Permalink
i2c-parport: i2c_parport_irq can be static
Browse files Browse the repository at this point in the history
i2c_parport_irq is only called internally so it can be static.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
  • Loading branch information
Jean Delvare authored and Jean Delvare committed Oct 5, 2012
1 parent bccd780 commit 7fe442a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/i2c/busses/i2c-parport.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7fe442a

Please sign in to comment.