MLK-12421 usb: chipidea: fix build warning if disable CONFIG_USB_CHIPIDEA_HOST
authorLi Jun <jun.li@nxp.com>
Fri, 19 Feb 2016 06:42:19 +0000 (14:42 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:51:45 +0000 (14:51 -0500)
commita16120132a12df27cd6ba18574dd84e84f9d5060
tree4634a78465a0168029e7120a94fe25584fa91139
parent7793bbc16b237f9f2d0c6eeb057c98332f71efca
MLK-12421 usb: chipidea: fix build warning if disable CONFIG_USB_CHIPIDEA_HOST

Fix chipidea usb driver compile warning if CONFIG_USB_CHIPIDEA_HOST
is disabled:
In file included from drivers/usb/chipidea/otg.c:26:0:
drivers/usb/chipidea/host.h:23:13: warning: 'ci_hdrc_host_driver_init'
defined but not used [-Wunused-function]
 static void ci_hdrc_host_driver_init(void)
             ^
  CC      drivers/usb/chipidea/otg_fsm.o
In file included from drivers/usb/chipidea/otg_fsm.c:34:0:
drivers/usb/chipidea/host.h:23:13: warning: 'ci_hdrc_host_driver_init'
defined but not used [-Wunused-function]
 static void ci_hdrc_host_driver_init(void)
             ^

Signed-off-by: Li Jun <jun.li@nxp.com>
drivers/usb/chipidea/host.h