diff options
author | David S. Miller <davem@davemloft.net> | 2015-09-15 13:25:03 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-15 13:25:03 -0700 |
commit | ad1e7b97b3adb91d46f3adb70a7867a50fc274cf (patch) | |
tree | 07cecfffa1e331c145d31a3cf657babafd427b42 /include | |
parent | 8b711d6db5c78a6d1969fb0fccb93daa7df53762 (diff) | |
download | linux-ad1e7b97b3adb91d46f3adb70a7867a50fc274cf.tar.bz2 |
cdc: Fix build warning.
In file included from drivers/usb/gadget/function/u_serial.h:16:0,
from drivers/usb/gadget/function/f_acm.c:23:
>> include/linux/usb/cdc.h:47:5: warning: 'struct usb_interface' declared inside parameter list
int buflen);
^
>> include/linux/usb/cdc.h:47:5: warning: its scope is only this definition or declaration, which is probably not what you want
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/usb/cdc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/usb/cdc.h b/include/linux/usb/cdc.h index cd8f2e1c3bdf..959d0c838113 100644 --- a/include/linux/usb/cdc.h +++ b/include/linux/usb/cdc.h @@ -40,7 +40,7 @@ struct usb_cdc_parsed_header { bool phonet_magic_present; }; - +struct usb_interface; int cdc_parse_cdc_header(struct usb_cdc_parsed_header *hdr, struct usb_interface *intf, u8 *buffer, |