summaryrefslogtreecommitdiffstats
path: root/firmware/target/hosted/sonynwz/button-nwz.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/hosted/sonynwz/button-nwz.c')
-rw-r--r--firmware/target/hosted/sonynwz/button-nwz.c20
1 files changed, 11 insertions, 9 deletions
diff --git a/firmware/target/hosted/sonynwz/button-nwz.c b/firmware/target/hosted/sonynwz/button-nwz.c
index f85a4be496..05d72f6358 100644
--- a/firmware/target/hosted/sonynwz/button-nwz.c
+++ b/firmware/target/hosted/sonynwz/button-nwz.c
@@ -17,26 +17,28 @@
* KIND, either express or implied.
*
****************************************************************************/
-#include "button.h"
-//#define LOGF_ENABLE
-#include "logf.h"
-#include "panic.h"
-#include "backlight.h"
-
-#include "nwz_keys.h"
-#include "nwz_ts.h"
#include <poll.h>
-#include <dir.h>
#include <errno.h>
#include <unistd.h>
#include <sys/types.h>
#include <linux/input.h>
+#include <dirent.h>
#include <fcntl.h>
#include <string.h>
#include <stdlib.h>
#include <system.h>
+#include "button.h"
+//#define LOGF_ENABLE
+#include "logf.h"
+#include "panic.h"
+#include "backlight.h"
+
+#include "nwz_keys.h"
+#include "nwz_ts.h"
+
+
/* device types */
#define DEV_KEY 0 /* icx_keys driver */
#define DEV_TOUCH 1 /* icx_touch_screen driver */