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
This commit is contained in:
parent
0e667ff5b0
commit
13f5e123f9
|
@ -23,11 +23,11 @@
|
|||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <stdio.h>
|
||||
#include <fcntl.h>
|
||||
#include <linux/fb.h>
|
||||
#include <sys/mman.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include "config.h"
|
||||
#include "file.h"
|
||||
#include "debug.h"
|
||||
#include "system.h"
|
||||
#include "screendump.h"
|
||||
|
@ -117,4 +117,4 @@ void lcd_enable(bool enable)
|
|||
if (enable)
|
||||
send_event(LCD_EVENT_ACTIVATION, NULL);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -18,19 +18,19 @@
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
#include "config.h"
|
||||
#include <sys/ioctl.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#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
|
||||
|
|
Loading…
Reference in New Issue