mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] barebox:usb_gadget:Remove compilation error.
@ 2010-10-25 12:39 Marek Belisko
  2010-10-25 16:34 ` Sascha Hauer
  0 siblings, 1 reply; 4+ messages in thread
From: Marek Belisko @ 2010-10-25 12:39 UTC (permalink / raw)
  To: barebox

Missing include <init.h> caused that __initdata was
undeclared what lead to compilation error.

Signed-off-by: Marek Belisko <marek.belisko@gmail.com>
---
 drivers/usb/gadget/epautoconf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/usb/gadget/epautoconf.c b/drivers/usb/gadget/epautoconf.c
index e549792..78f3099 100644
--- a/drivers/usb/gadget/epautoconf.c
+++ b/drivers/usb/gadget/epautoconf.c
@@ -18,7 +18,7 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  *
  */
-
+#include <init.h>
 #include <common.h>
 #include <linux/ctype.h>
 #include <asm/byteorder.h>
-- 
1.7.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-10-25 17:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-25 12:39 [PATCH] barebox:usb_gadget:Remove compilation error Marek Belisko
2010-10-25 16:34 ` Sascha Hauer
2010-10-25 17:07   ` Belisko Marek
2010-10-25 17:50     ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox