From 13f5e123f92b85129622f5807b101dd75fdd73ae Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sat, 17 Oct 2020 14:36:23 -0400 Subject: 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 --- firmware/target/hosted/samsungypr/ypr1/powermgmt-ypr1.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'firmware/target/hosted/samsungypr/ypr1/powermgmt-ypr1.c') 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 @@ * ****************************************************************************/ -#include "config.h" #include +#include +#include +#include + +#include "config.h" #include "kernel.h" #include "powermgmt.h" #include "power.h" -#include "file.h" #include "adc.h" #include "radio-ypr.h" #include "pmu-ypr1.h" #include "ioctl-ypr1.h" -#include "stdio.h" -#include "unistd.h" -#include "fcntl.h" #include "system.h" #define MAX17040_VCELL 0x02 -- cgit v1.2.3