linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] i2c-parport: i2c_parport_irq can be static
@ 2012-09-30 11:59 Jean Delvare
  0 siblings, 0 replies; only message in thread
From: Jean Delvare @ 2012-09-30 11:59 UTC (permalink / raw)
  To: Linux I2C

i2c_parport_irq is only called internally so it can be static.

Signed-off-by: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
---
 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-09-30 11:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-30 11:59 [PATCH] i2c-parport: i2c_parport_irq can be static Jean Delvare

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).