[PATCH 01/24] usb: gadget: include common.h in header
Lucas Stach
dev at lynxeye.de
Sun Mar 1 05:16:59 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