diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2012-09-10 16:30:50 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-09-10 18:31:40 +0300 |
commit | 9830317a3f97afc358949ffa87529ee9da49bb44 (patch) | |
tree | 9e8b5475f3f83398639fc507f44edfdefe49b461 /drivers/usb/gadget | |
parent | ed9cbda63d45638b69ce62412e3a3c7b00644835 (diff) | |
download | op-kernel-dev-9830317a3f97afc358949ffa87529ee9da49bb44.zip op-kernel-dev-9830317a3f97afc358949ffa87529ee9da49bb44.tar.gz |
usb: gadget: add module.h to u_ether.c
Spotted by Fengguang Wu:
|In file included from drivers/usb/gadget/ether.c:110:0:
|drivers/usb/gadget/u_ether.c:87:21: error: expected ')' before 'uint'
|drivers/usb/gadget/u_ether.c:88:25: error: expected ')' before string constant
This is because u_ether.c relied on having module.h included somewhere.
This isn't the case since composite.c is no longer included.
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r-- | drivers/usb/gadget/u_ether.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/u_ether.c b/drivers/usb/gadget/u_ether.c index 1154a99..41b17d1 100644 --- a/drivers/usb/gadget/u_ether.c +++ b/drivers/usb/gadget/u_ether.c @@ -14,6 +14,7 @@ /* #define VERBOSE_DEBUG */ #include <linux/kernel.h> +#include <linux/module.h> #include <linux/gfp.h> #include <linux/device.h> #include <linux/ctype.h> |