diff options
author | Kukjin Kim <kgene.kim@samsung.com> | 2012-01-20 21:46:41 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-01-20 22:02:30 -0500 |
commit | 4cfb7b7ce53bff8574ca152f433ab7fad62f1cad (patch) | |
tree | 35b054056181bea188e3c065620f266b6fd5f60e /arch/arm/mach-s3c2440/mach-rx1950.c | |
parent | e745e06fbdf697ed7d611ea596e77278eeecd417 (diff) |
ARM: S3C24XX: use static declaration when it is not used in other files
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c2440/mach-rx1950.c')
-rw-r--r-- | arch/arm/mach-s3c2440/mach-rx1950.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/mach-s3c2440/mach-rx1950.c b/arch/arm/mach-s3c2440/mach-rx1950.c index 80077f6472ee..4a8e2d34994c 100644 --- a/arch/arm/mach-s3c2440/mach-rx1950.c +++ b/arch/arm/mach-s3c2440/mach-rx1950.c | |||
@@ -217,7 +217,7 @@ static const struct s3c_adc_bat_thresh bat_lut_acin[] = { | |||
217 | { .volt = 3820, .cur = 0, .level = 0}, | 217 | { .volt = 3820, .cur = 0, .level = 0}, |
218 | }; | 218 | }; |
219 | 219 | ||
220 | int rx1950_bat_init(void) | 220 | static int rx1950_bat_init(void) |
221 | { | 221 | { |
222 | int ret; | 222 | int ret; |
223 | 223 | ||
@@ -236,25 +236,25 @@ err_gpio1: | |||
236 | return ret; | 236 | return ret; |
237 | } | 237 | } |
238 | 238 | ||
239 | void rx1950_bat_exit(void) | 239 | static void rx1950_bat_exit(void) |
240 | { | 240 | { |
241 | gpio_free(S3C2410_GPJ(2)); | 241 | gpio_free(S3C2410_GPJ(2)); |
242 | gpio_free(S3C2410_GPJ(3)); | 242 | gpio_free(S3C2410_GPJ(3)); |
243 | } | 243 | } |
244 | 244 | ||
245 | void rx1950_enable_charger(void) | 245 | static void rx1950_enable_charger(void) |
246 | { | 246 | { |
247 | gpio_direction_output(S3C2410_GPJ(2), 1); | 247 | gpio_direction_output(S3C2410_GPJ(2), 1); |
248 | gpio_direction_output(S3C2410_GPJ(3), 1); | 248 | gpio_direction_output(S3C2410_GPJ(3), 1); |
249 | } | 249 | } |
250 | 250 | ||
251 | void rx1950_disable_charger(void) | 251 | static void rx1950_disable_charger(void) |
252 | { | 252 | { |
253 | gpio_direction_output(S3C2410_GPJ(2), 0); | 253 | gpio_direction_output(S3C2410_GPJ(2), 0); |
254 | gpio_direction_output(S3C2410_GPJ(3), 0); | 254 | gpio_direction_output(S3C2410_GPJ(3), 0); |
255 | } | 255 | } |
256 | 256 | ||
257 | DEFINE_SPINLOCK(rx1950_blink_spin); | 257 | static DEFINE_SPINLOCK(rx1950_blink_spin); |
258 | 258 | ||
259 | static int rx1950_led_blink_set(unsigned gpio, int state, | 259 | static int rx1950_led_blink_set(unsigned gpio, int state, |
260 | unsigned long *delay_on, unsigned long *delay_off) | 260 | unsigned long *delay_on, unsigned long *delay_off) |
@@ -382,7 +382,7 @@ static struct s3c2410fb_mach_info rx1950_lcd_cfg = { | |||
382 | 382 | ||
383 | static struct pwm_device *lcd_pwm; | 383 | static struct pwm_device *lcd_pwm; |
384 | 384 | ||
385 | void rx1950_lcd_power(int enable) | 385 | static void rx1950_lcd_power(int enable) |
386 | { | 386 | { |
387 | int i; | 387 | int i; |
388 | static int enabled; | 388 | static int enabled; |