[PATCH] barebox:usb_gadget:Remove compilation error.

Marek Belisko marek.belisko at gmail.com
Mon Oct 25 08:39:53 EDT 2010


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

Signed-off-by: Marek Belisko <marek.belisko at 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




More information about the barebox mailing list