OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bccd780
)
i2c-parport: i2c_parport_irq can be static
author
Jean Delvare
<khali@linux-fr.org>
Fri, 5 Oct 2012 20:23:53 +0000
(22:23 +0200)
committer
Jean Delvare
<khali@endymion.delvare>
Fri, 5 Oct 2012 20:23:53 +0000
(22:23 +0200)
i2c_parport_irq is only called internally so it can be static.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/i2c-parport.c
patch
|
blob
|
history
diff --git
a/drivers/i2c/busses/i2c-parport.c
b/drivers/i2c/busses/i2c-parport.c
index
2456568
..
81d8878
100644
(file)
--- a/
drivers/i2c/busses/i2c-parport.c
+++ b/
drivers/i2c/busses/i2c-parport.c
@@
-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;