diff options
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/hosted/samsungypr/lcd-ypr.c | 4 | ||||
-rw-r--r-- | firmware/target/hosted/samsungypr/ypr1/powermgmt-ypr1.c | 10 |
2 files changed, 7 insertions, 7 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 |
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 |