summaryrefslogtreecommitdiff
path: root/hw/usb_gadget_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/usb_gadget_common.c')
-rw-r--r--hw/usb_gadget_common.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/hw/usb_gadget_common.c b/hw/usb_gadget_common.c
index c6ea9cd..08fe8a4 100644
--- a/hw/usb_gadget_common.c
+++ b/hw/usb_gadget_common.c
@@ -16,17 +16,16 @@
* limitations under the License.
*/
-#include <hw/usb_gadget.h>
-#include <hw/board.h>
-#include <stdio.h>
-#include <stdlib.h>
#include <errno.h>
#include <string.h>
-#include <unistd.h>
+#include <stdlib.h>
#include <libsyscommon/dbus-systemd.h>
+#include <hw/board.h>
+#include <hw/usb_gadget.h>
+
#define zalloc(amount) calloc(1, amount)
/* Based on slp-gadget and initial version of USB HAL by Taeyoung Kim */