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/lcd-ypr.c | |
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/lcd-ypr.c')
-rw-r--r-- | firmware/target/hosted/samsungypr/lcd-ypr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/hosted/samsungypr/lcd-ypr.c b/firmware/target/hosted/samsungypr/lcd-ypr.c index 8d9bfefbec..b8db2eedd1 100644 --- a/firmware/target/hosted/samsungypr/lcd-ypr.c +++ b/firmware/target/hosted/samsungypr/lcd-ypr.c | |||
@@ -23,11 +23,11 @@ | |||
23 | #include <stdlib.h> | 23 | #include <stdlib.h> |
24 | #include <unistd.h> | 24 | #include <unistd.h> |
25 | #include <stdio.h> | 25 | #include <stdio.h> |
26 | #include <fcntl.h> | ||
26 | #include <linux/fb.h> | 27 | #include <linux/fb.h> |
27 | #include <sys/mman.h> | 28 | #include <sys/mman.h> |
28 | #include <sys/ioctl.h> | 29 | #include <sys/ioctl.h> |
29 | #include "config.h" | 30 | #include "config.h" |
30 | #include "file.h" | ||
31 | #include "debug.h" | 31 | #include "debug.h" |
32 | #include "system.h" | 32 | #include "system.h" |
33 | #include "screendump.h" | 33 | #include "screendump.h" |
@@ -117,4 +117,4 @@ void lcd_enable(bool enable) | |||
117 | if (enable) | 117 | if (enable) |
118 | send_event(LCD_EVENT_ACTIVATION, NULL); | 118 | send_event(LCD_EVENT_ACTIVATION, NULL); |
119 | } | 119 | } |
120 | #endif \ No newline at end of file | 120 | #endif |