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:
|
||
|---|---|---|
| .. | ||
| association.h | ||
| audio-v2.h | ||
| audio-v3.h | ||
| audio.h | ||
| c67x00.h | ||
| cdc-wdm.h | ||
| cdc.h | ||
| cdc_ncm.h | ||
| ch9.h | ||
| chipidea.h | ||
| composite.h | ||
| ehci-dbgp.h | ||
| ehci_def.h | ||
| ehci_pdriver.h | ||
| ezusb.h | ||
| f_accessory.h | ||
| functionfs.h | ||
| g_hid.h | ||
| gadget.h | ||
| gadget_configfs.h | ||
| gpio_vbus.h | ||
| hcd.h | ||
| input.h | ||
| iowarrior.h | ||
| irda.h | ||
| isp116x.h | ||
| isp1301.h | ||
| isp1362.h | ||
| isp1760.h | ||
| m66592.h | ||
| musb-ux500.h | ||
| musb.h | ||
| net2280.h | ||
| of.h | ||
| ohci_pdriver.h | ||
| otg-fsm.h | ||
| otg.h | ||
| pd.h | ||
| pd_ado.h | ||
| pd_bdo.h | ||
| pd_ext_sdb.h | ||
| pd_vdo.h | ||
| phy.h | ||
| phy_companion.h | ||
| quirks.h | ||
| r8a66597.h | ||
| renesas_usbhs.h | ||
| rndis_host.h | ||
| role.h | ||
| samsung_usb_phy.h | ||
| serial.h | ||
| sl811.h | ||
| storage.h | ||
| tcpm.h | ||
| tegra_usb_phy.h | ||
| typec.h | ||
| typec_altmode.h | ||
| typec_dp.h | ||
| typec_mux.h | ||
| uas.h | ||
| ulpi.h | ||
| usb338x.h | ||
| usb_phy_generic.h | ||
| usbnet.h | ||
| wusb-wa.h | ||
| wusb.h | ||
| xhci-dbgp.h | ||