]> git.baikalelectronics.ru Git - kernel.git/commit
cdc: Fix build warning.
authorDavid S. Miller <davem@davemloft.net>
Tue, 15 Sep 2015 20:25:03 +0000 (13:25 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Sep 2015 20:25:03 +0000 (13:25 -0700)
commitad3255828bc657b502b8e1a2a438ab49ad32caf2
tree07cecfffa1e331c145d31a3cf657babafd427b42
parent9885a0e460998dfd3678a6a33e4ef3c97e79fd31
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>
include/linux/usb/cdc.h