[PATCH] i2c-parport: i2c_parport_irq can be static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



i2c_parport_irq is only called internally so it can be static.

Signed-off-by: Jean Delvare <khali@xxxxxxxxxxxx>
---
 drivers/i2c/busses/i2c-parport.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-3.6-rc7.orig/drivers/i2c/busses/i2c-parport.c	2012-07-21 22:58:29.000000000 +0200
+++ linux-3.6-rc7/drivers/i2c/busses/i2c-parport.c	2012-09-30 13:58:37.103593569 +0200
@@ -151,7 +151,7 @@ static const struct i2c_algo_bit_data pa
 
 /* ----- 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;


-- 
Jean Delvare
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux