diff options
author | Vinod Koul <[email protected]> | 2020-05-19 15:00:02 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-05-19 14:11:55 +0200 |
commit | 78ef1b1ea193d1b977864f8c20968fcf4f1dbff4 (patch) | |
tree | 706a6a3f9666a13b0bc65afe22e185c51b4494cd /net/lapb/lapb_iface.c | |
parent | df00731cffa0edb454ee0c490696ce0c1745e680 (diff) |
usb: xhci: make symbols static
When renesas module is not built, we get compiler warning on xhci driver
with W=1
CC [M] drivers/usb/host/xhci-rcar.o
drivers/usb/host/xhci-pci.h:13:5: warning: no previous prototype for ‘renesas_xhci_check_request_fw’ [-Wmissing-prototypes]
int renesas_xhci_check_request_fw(struct pci_dev *dev,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/usb/host/xhci-pci.h:19:6: warning: no previous prototype for ‘renesas_xhci_pci_exit’ [-Wmissing-prototypes]
void renesas_xhci_pci_exit(struct pci_dev *dev) { };
^~~~~~~~~~~~~~~~~~~~~
We have defined these symbols when CONFIG_USB_XHCI_PCI_RENESAS is not
defined, but missed making then static.
Reported-by: kbuild test robot <[email protected]>
Fixes: 8bd5741e3145 ("usb: renesas-xhci: Add the renesas xhci driver")
Signed-off-by: Vinod Koul <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions