projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.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
|
blame
|
history
diff --git
a/drivers/i2c/busses/i2c-parport.c
b/drivers/i2c/busses/i2c-parport.c
index 24565687ac9bc06548bfa8dd17bfb488bcd96291..81d887869620b40fafd3b21c76d85643a6247d0d 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;