diff options
author | Eric Bénard <eric@eukrea.com> | 2010-10-14 13:06:34 +0200 |
---|---|---|
committer | Eric Bénard <eric@eukrea.com> | 2010-10-14 13:07:14 +0200 |
commit | 9f93d939efc33b747496648d2c7fb2c7a65b92f1 (patch) | |
tree | 1ec5be589b86638fe958a5b3f7256082ee3de4c0 /drivers | |
parent | 7c9016431b1060c0a20ad8ac8ebf85d4a7b09b5e (diff) | |
download | barebox-9f93d939efc33b747496648d2c7fb2c7a65b92f1.tar.gz barebox-9f93d939efc33b747496648d2c7fb2c7a65b92f1.tar.xz |
epautoconf: fix compile error
this patch fix the following error :
CC drivers/usb/gadget/epautoconf.o
drivers/usb/gadget/epautoconf.c:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unsigned'
drivers/usb/gadget/epautoconf.c: In function 'ep_matches':
drivers/usb/gadget/epautoconf.c:168: error: 'epnum' undeclared (first use in this function)
drivers/usb/gadget/epautoconf.c:168: error: (Each undeclared identifier is reported only once
drivers/usb/gadget/epautoconf.c:168: error: for each function it appears in.)
drivers/usb/gadget/epautoconf.c: In function 'usb_ep_autoconfig_reset':
drivers/usb/gadget/epautoconf.c:304: error: 'epnum' undeclared (first use in this function)
Signed-off-by: Eric Bénard <eric@eukrea.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/gadget/epautoconf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/epautoconf.c b/drivers/usb/gadget/epautoconf.c index e549792148..fe7e7fd159 100644 --- a/drivers/usb/gadget/epautoconf.c +++ b/drivers/usb/gadget/epautoconf.c @@ -19,6 +19,7 @@ * */ +#include <init.h> #include <common.h> #include <linux/ctype.h> #include <asm/byteorder.h> |