diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-10-17 14:36:23 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-10-17 14:37:15 -0400 |
commit | 13f5e123f92b85129622f5807b101dd75fdd73ae (patch) | |
tree | b442f424f844f557b91a57f8dede12b7564790f7 /firmware/target/hosted/samsungypr/ypr1 | |
parent | 0e667ff5b0e3b7373609e9c438f69d8b12b33967 (diff) | |
download | rockbox-13f5e123f92b85129622f5807b101dd75fdd73ae.tar.gz rockbox-13f5e123f92b85129622f5807b101dd75fdd73ae.zip |
samsung yp-r0/r1: use os-native opendir() in the low-level driver code
Fixes blank LCD on both R0/R1 and the PMU on the R1
Change-Id: I356907676f7a0a009897fd4895bf78c1022b71d1
Diffstat (limited to 'firmware/target/hosted/samsungypr/ypr1')
-rw-r--r-- | firmware/target/hosted/samsungypr/ypr1/powermgmt-ypr1.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/firmware/target/hosted/samsungypr/ypr1/powermgmt-ypr1.c b/firmware/target/hosted/samsungypr/ypr1/powermgmt-ypr1.c index 9a8f9747ae..7eeea721a5 100644 --- a/firmware/target/hosted/samsungypr/ypr1/powermgmt-ypr1.c +++ b/firmware/target/hosted/samsungypr/ypr1/powermgmt-ypr1.c | |||
@@ -18,19 +18,19 @@ | |||
18 | * | 18 | * |
19 | ****************************************************************************/ | 19 | ****************************************************************************/ |
20 | 20 | ||
21 | #include "config.h" | ||
22 | #include <sys/ioctl.h> | 21 | #include <sys/ioctl.h> |
22 | #include <fcntl.h> | ||
23 | #include <stdio.h> | ||
24 | #include <unistd.h> | ||
25 | |||
26 | #include "config.h" | ||
23 | #include "kernel.h" | 27 | #include "kernel.h" |
24 | #include "powermgmt.h" | 28 | #include "powermgmt.h" |
25 | #include "power.h" | 29 | #include "power.h" |
26 | #include "file.h" | ||
27 | #include "adc.h" | 30 | #include "adc.h" |
28 | #include "radio-ypr.h" | 31 | #include "radio-ypr.h" |
29 | #include "pmu-ypr1.h" | 32 | #include "pmu-ypr1.h" |
30 | #include "ioctl-ypr1.h" | 33 | #include "ioctl-ypr1.h" |
31 | #include "stdio.h" | ||
32 | #include "unistd.h" | ||
33 | #include "fcntl.h" | ||
34 | #include "system.h" | 34 | #include "system.h" |
35 | 35 | ||
36 | #define MAX17040_VCELL 0x02 | 36 | #define MAX17040_VCELL 0x02 |