projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
859b9ef
)
hwmon: (ad7414) Make ad7414_update_device() static
author
Adrian Bunk
<
[email protected]
>
Sat, 20 Sep 2008 08:25:20 +0000
(10:25 +0200)
committer
Jean Delvare
<
[email protected]
>
Sat, 20 Sep 2008 08:25:20 +0000
(10:25 +0200)
This patch makes the needlessly global ad7414_update_device() static.
Signed-off-by: Adrian Bunk <
[email protected]
>
Acked-by: Sean MacLennan <
[email protected]
>
Signed-off-by: Jean Delvare <
[email protected]
>
drivers/hwmon/ad7414.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/ad7414.c
b/drivers/hwmon/ad7414.c
index ce8d94fbfd7e24b584da17e743fd729d30971e18..bfda8c80ef2473923a1ff1e38db845252b0bb16b 100644
(file)
--- a/
drivers/hwmon/ad7414.c
+++ b/
drivers/hwmon/ad7414.c
@@
-69,7
+69,7
@@
static inline int ad7414_write(struct i2c_client *client, u8 reg, u8 value)
return i2c_smbus_write_byte_data(client, reg, value);
}
-struct ad7414_data *ad7414_update_device(struct device *dev)
+st
atic st
ruct ad7414_data *ad7414_update_device(struct device *dev)
{
struct i2c_client *client = to_i2c_client(dev);
struct ad7414_data *data = i2c_get_clientdata(client);