diff options
Diffstat (limited to 'firmware/target/sh/archos/player')
-rw-r--r-- | firmware/target/sh/archos/player/backlight-target.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/sh/archos/player/backlight-target.h b/firmware/target/sh/archos/player/backlight-target.h index d3bb7f39ed..ede3c86635 100644 --- a/firmware/target/sh/archos/player/backlight-target.h +++ b/firmware/target/sh/archos/player/backlight-target.h | |||
@@ -22,7 +22,7 @@ | |||
22 | #include "config.h" | 22 | #include "config.h" |
23 | #include "cpu.h" | 23 | #include "cpu.h" |
24 | 24 | ||
25 | static inline bool __backlight_init(void) | 25 | static inline bool _backlight_init(void) |
26 | { | 26 | { |
27 | PACR1 &= ~0x3000; /* Set PA14 (backlight control) to GPIO */ | 27 | PACR1 &= ~0x3000; /* Set PA14 (backlight control) to GPIO */ |
28 | and_b(~0x40, &PADRH); /* drive and set low */ | 28 | and_b(~0x40, &PADRH); /* drive and set low */ |
@@ -30,13 +30,13 @@ static inline bool __backlight_init(void) | |||
30 | return true; | 30 | return true; |
31 | } | 31 | } |
32 | 32 | ||
33 | static inline void __backlight_on(void) | 33 | static inline void _backlight_on(void) |
34 | { | 34 | { |
35 | and_b(~0x40, &PADRH); /* drive and set low */ | 35 | and_b(~0x40, &PADRH); /* drive and set low */ |
36 | or_b(0x40, &PAIORH); | 36 | or_b(0x40, &PAIORH); |
37 | } | 37 | } |
38 | 38 | ||
39 | static inline void __backlight_off(void) | 39 | static inline void _backlight_off(void) |
40 | { | 40 | { |
41 | and_b(~0x40, &PAIORH); /* let it float (up) */ | 41 | and_b(~0x40, &PAIORH); /* let it float (up) */ |
42 | } | 42 | } |