summaryrefslogtreecommitdiffstats
path: root/include/usb/gadget.h
diff options
context:
space:
mode:
authorLucas Stach <dev@lynxeye.de>2015-03-05 22:49:52 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-03-06 07:51:47 +0100
commitf61fa09a42e6f936d55c5745f2001bd9b5d20c10 (patch)
tree8e5305392b15702f3e0edc300d51eca3473cde0b /include/usb/gadget.h
parentae16aba24b69bdb3daf9741c33cb1dcb0e1759e6 (diff)
downloadbarebox-f61fa09a42e6f936d55c5745f2001bd9b5d20c10.tar.gz
barebox-f61fa09a42e6f936d55c5745f2001bd9b5d20c10.tar.xz
usb: gadget: include common.h in header
It is needed for container_of() and this header falls over if we change the include order. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/usb/gadget.h')
-rw-r--r--include/usb/gadget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/usb/gadget.h b/include/usb/gadget.h
index f663e98abf..80418a9cd4 100644
--- a/include/usb/gadget.h
+++ b/include/usb/gadget.h
@@ -15,6 +15,7 @@
#ifndef __LINUX_USB_GADGET_H
#define __LINUX_USB_GADGET_H
+#include <common.h>
#include <malloc.h>
#include <driver.h>
#include <linux/list.h>