diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2010-08-08 09:02:41 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2010-08-08 09:02:41 +0000 |
commit | 82a2cdb2adcb26a6c0c61c1f717d8749245a0e54 (patch) | |
tree | 71d5f36ce2f1f6942a84ef9263586e17ea78470a /firmware | |
parent | b312283b9c60aec61e222003d031dc9f52b12b48 (diff) | |
download | rockbox-82a2cdb2adcb26a6c0c61c1f717d8749245a0e54.tar.gz rockbox-82a2cdb2adcb26a6c0c61c1f717d8749245a0e54.zip |
Various minor fixes for Samsung YH* targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27751 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/common/filefuncs.c | 1 | ||||
-rw-r--r-- | firmware/drivers/rtc/rtc_e8564.c | 2 | ||||
-rw-r--r-- | firmware/target/arm/samsung/yh820/backlight-yh820.c | 1 | ||||
-rw-r--r-- | firmware/target/arm/samsung/yh920/backlight-yh920.c | 1 | ||||
-rw-r--r-- | firmware/target/arm/samsung/yh925/backlight-yh925.c | 1 |
5 files changed, 6 insertions, 0 deletions
diff --git a/firmware/common/filefuncs.c b/firmware/common/filefuncs.c index c058267094..9fe07d69bb 100644 --- a/firmware/common/filefuncs.c +++ b/firmware/common/filefuncs.c | |||
@@ -23,6 +23,7 @@ | |||
23 | #include "stdlib.h" | 23 | #include "stdlib.h" |
24 | #include "string.h" | 24 | #include "string.h" |
25 | #include "debug.h" | 25 | #include "debug.h" |
26 | #include "filefuncs.h" | ||
26 | 27 | ||
27 | #ifdef HAVE_MULTIVOLUME | 28 | #ifdef HAVE_MULTIVOLUME |
28 | /* returns on which volume this is, and copies the reduced name | 29 | /* returns on which volume this is, and copies the reduced name |
diff --git a/firmware/drivers/rtc/rtc_e8564.c b/firmware/drivers/rtc/rtc_e8564.c index 54e663424b..7a02ec6cdc 100644 --- a/firmware/drivers/rtc/rtc_e8564.c +++ b/firmware/drivers/rtc/rtc_e8564.c | |||
@@ -109,6 +109,7 @@ int rtc_write_datetime(const struct tm *tm) | |||
109 | return 1; | 109 | return 1; |
110 | } | 110 | } |
111 | 111 | ||
112 | #ifdef HAVE_RTC_ALARM | ||
112 | void rtc_set_alarm(int h, int m) | 113 | void rtc_set_alarm(int h, int m) |
113 | { | 114 | { |
114 | unsigned char buf[4] = {0}; | 115 | unsigned char buf[4] = {0}; |
@@ -222,4 +223,5 @@ bool rtc_check_alarm_flag(void) | |||
222 | 223 | ||
223 | return (tmp & RTC_AF); | 224 | return (tmp & RTC_AF); |
224 | } | 225 | } |
226 | #endif /* HAVE_RTC_ALARM */ | ||
225 | 227 | ||
diff --git a/firmware/target/arm/samsung/yh820/backlight-yh820.c b/firmware/target/arm/samsung/yh820/backlight-yh820.c index 5e2cf81e08..0bbdb4f7d4 100644 --- a/firmware/target/arm/samsung/yh820/backlight-yh820.c +++ b/firmware/target/arm/samsung/yh820/backlight-yh820.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include "cpu.h" | 22 | #include "cpu.h" |
23 | #include "system.h" | 23 | #include "system.h" |
24 | #include "backlight.h" | 24 | #include "backlight.h" |
25 | #include "backlight-target.h" | ||
25 | #include "lcd.h" | 26 | #include "lcd.h" |
26 | 27 | ||
27 | void _backlight_on(void) | 28 | void _backlight_on(void) |
diff --git a/firmware/target/arm/samsung/yh920/backlight-yh920.c b/firmware/target/arm/samsung/yh920/backlight-yh920.c index 5e2cf81e08..0bbdb4f7d4 100644 --- a/firmware/target/arm/samsung/yh920/backlight-yh920.c +++ b/firmware/target/arm/samsung/yh920/backlight-yh920.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include "cpu.h" | 22 | #include "cpu.h" |
23 | #include "system.h" | 23 | #include "system.h" |
24 | #include "backlight.h" | 24 | #include "backlight.h" |
25 | #include "backlight-target.h" | ||
25 | #include "lcd.h" | 26 | #include "lcd.h" |
26 | 27 | ||
27 | void _backlight_on(void) | 28 | void _backlight_on(void) |
diff --git a/firmware/target/arm/samsung/yh925/backlight-yh925.c b/firmware/target/arm/samsung/yh925/backlight-yh925.c index 2dac1d7a81..5f29f9f770 100644 --- a/firmware/target/arm/samsung/yh925/backlight-yh925.c +++ b/firmware/target/arm/samsung/yh925/backlight-yh925.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include "cpu.h" | 22 | #include "cpu.h" |
23 | #include "system.h" | 23 | #include "system.h" |
24 | #include "backlight.h" | 24 | #include "backlight.h" |
25 | #include "backlight-target.h" | ||
25 | #include "lcd.h" | 26 | #include "lcd.h" |
26 | 27 | ||
27 | void _backlight_on(void) | 28 | void _backlight_on(void) |