提交 7fe442a1 编写于 作者: J Jean Delvare 提交者: Jean Delvare

i2c-parport: i2c_parport_irq can be static

i2c_parport_irq is only called internally so it can be static.
Signed-off-by: NJean Delvare <khali@linux-fr.org>
上级 bccd780f
...@@ -151,7 +151,7 @@ static const struct i2c_algo_bit_data parport_algo_data = { ...@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册