mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
a9c813f8874430d679fcdf3bad7e36ff707acef2
When CONFIG_USB_GADGET is disabled:
In file included from drivers/usb/dwc2/core_intr.c:54:
In file included from drivers/usb/dwc2/core.h:43:
include/linux/usb/gadget.h:348:12: warning: unused function
'usb_gsi_ep_op' [-Wunused-function]
static int usb_gsi_ep_op(struct usb_ep *ep,
^
include/linux/usb/gadget.h:645:12: warning: unused function
'usb_gadget_func_wakeup' [-Wunused-function]
static int usb_gadget_func_wakeup(struct usb_gadget *gadget, int
interface_id)
^
2 warnings generated.
Stub functions are expected to use inline to hide the fact that they are
unused. Add that here to eliminate the warnings.
Change-Id: I55cabd7602e5ddf6213265053e1b7850ff62bcdb
Fixes: 632093eced ("ANDROID: GKI: USB: Resolve ABI diff for usb_gadget and usb_gadget_ops")
Fixes: b582ef5b4d ("ANDROID: GKI: drivers: usb: Add functions usb_func_ep_queue/usb_func_wakeup")
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Linux kernel
============
There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.
In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``. The formatted documentation can also be read online at:
https://www.kernel.org/doc/html/latest/
There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.
Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
Description
Languages
C
97.7%
Assembly
1.6%
Makefile
0.3%
Perl
0.1%