diff options
author | Greg K-H <gregkh@suse.de> | 2005-04-05 12:00:47 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-22 00:51:50 -0400 |
commit | 69113efac29e5f1b7a03dd4fdca5ede6901f4eb8 (patch) | |
tree | 5decc38a1b2f5ede2f8d987c1f749f28a5432556 /drivers | |
parent | 9cb7d18433ea6db04b3999e8d0b8f52fba551c2d (diff) |
[PATCH] I2C: mark all functions static in atxp1 driver
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/i2c/chips/atxp1.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/i2c/chips/atxp1.c b/drivers/i2c/chips/atxp1.c index 570b36c6c2ac..57b0bdde38b2 100644 --- a/drivers/i2c/chips/atxp1.c +++ b/drivers/i2c/chips/atxp1.c | |||
@@ -99,7 +99,7 @@ static struct atxp1_data * atxp1_update_device(struct device *dev) | |||
99 | } | 99 | } |
100 | 100 | ||
101 | /* sys file functions for cpu0_vid */ | 101 | /* sys file functions for cpu0_vid */ |
102 | ssize_t atxp1_showvcore(struct device *dev, char *buf) | 102 | static ssize_t atxp1_showvcore(struct device *dev, char *buf) |
103 | { | 103 | { |
104 | int size; | 104 | int size; |
105 | struct atxp1_data *data; | 105 | struct atxp1_data *data; |
@@ -111,7 +111,7 @@ ssize_t atxp1_showvcore(struct device *dev, char *buf) | |||
111 | return size; | 111 | return size; |
112 | } | 112 | } |
113 | 113 | ||
114 | ssize_t atxp1_storevcore(struct device *dev, const char* buf, size_t count) | 114 | static ssize_t atxp1_storevcore(struct device *dev, const char* buf, size_t count) |
115 | { | 115 | { |
116 | struct atxp1_data *data; | 116 | struct atxp1_data *data; |
117 | struct i2c_client *client; | 117 | struct i2c_client *client; |
@@ -169,7 +169,7 @@ ssize_t atxp1_storevcore(struct device *dev, const char* buf, size_t count) | |||
169 | static DEVICE_ATTR(cpu0_vid, S_IRUGO | S_IWUSR, atxp1_showvcore, atxp1_storevcore); | 169 | static DEVICE_ATTR(cpu0_vid, S_IRUGO | S_IWUSR, atxp1_showvcore, atxp1_storevcore); |
170 | 170 | ||
171 | /* sys file functions for GPIO1 */ | 171 | /* sys file functions for GPIO1 */ |
172 | ssize_t atxp1_showgpio1(struct device *dev, char *buf) | 172 | static ssize_t atxp1_showgpio1(struct device *dev, char *buf) |
173 | { | 173 | { |
174 | int size; | 174 | int size; |
175 | struct atxp1_data *data; | 175 | struct atxp1_data *data; |
@@ -181,7 +181,7 @@ ssize_t atxp1_showgpio1(struct device *dev, char *buf) | |||
181 | return size; | 181 | return size; |
182 | } | 182 | } |
183 | 183 | ||
184 | ssize_t atxp1_storegpio1(struct device *dev, const char* buf, size_t count) | 184 | static ssize_t atxp1_storegpio1(struct device *dev, const char* buf, size_t count) |
185 | { | 185 | { |
186 | struct atxp1_data *data; | 186 | struct atxp1_data *data; |
187 | struct i2c_client *client; | 187 | struct i2c_client *client; |
@@ -211,7 +211,7 @@ ssize_t atxp1_storegpio1(struct device *dev, const char* buf, size_t count) | |||
211 | static DEVICE_ATTR(gpio1, S_IRUGO | S_IWUSR, atxp1_showgpio1, atxp1_storegpio1); | 211 | static DEVICE_ATTR(gpio1, S_IRUGO | S_IWUSR, atxp1_showgpio1, atxp1_storegpio1); |
212 | 212 | ||
213 | /* sys file functions for GPIO2 */ | 213 | /* sys file functions for GPIO2 */ |
214 | ssize_t atxp1_showgpio2(struct device *dev, char *buf) | 214 | static ssize_t atxp1_showgpio2(struct device *dev, char *buf) |
215 | { | 215 | { |
216 | int size; | 216 | int size; |
217 | struct atxp1_data *data; | 217 | struct atxp1_data *data; |
@@ -223,7 +223,7 @@ ssize_t atxp1_showgpio2(struct device *dev, char *buf) | |||
223 | return size; | 223 | return size; |
224 | } | 224 | } |
225 | 225 | ||
226 | ssize_t atxp1_storegpio2(struct device *dev, const char* buf, size_t count) | 226 | static ssize_t atxp1_storegpio2(struct device *dev, const char* buf, size_t count) |
227 | { | 227 | { |
228 | struct atxp1_data *data; | 228 | struct atxp1_data *data; |
229 | struct i2c_client *client; | 229 | struct i2c_client *client; |