[PATCH v2 01/27] usb: gadget: include common.h in header
Lucas Stach
dev at lynxeye.de
Thu Mar 5 13:49:52 PST 2015
It is needed for container_of() and this header falls
over if we change the include order.
Signed-off-by: Lucas Stach <dev at lynxeye.de>
---
include/usb/gadget.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/usb/gadget.h b/include/usb/gadget.h
index f663e98..80418a9 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>
--
2.1.0
More information about the barebox
mailing list