diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-01-28 17:23:13 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@kernel.org> | 2016-03-04 14:14:30 +0100 |
commit | 5b35becce78fd0640c16e66a4741e3441d257d11 (patch) | |
tree | 6407d34e30fedacbd26d2d47f1dcb131cc0854cb /drivers/usb/musb | |
parent | usb: fsl: drop USB_FSL_MPH_DR_OF Kconfig symbol (diff) | |
download | linux-5b35becce78fd0640c16e66a4741e3441d257d11.tar.xz linux-5b35becce78fd0640c16e66a4741e3441d257d11.zip |
usb: isp1301-omap: mark power_up as __maybe_unused
The power_up function is used for otg or udc mode, but nost when
the driver is only configured for host mode:
drivers/usb/phy/phy-isp1301-omap.c:261:13: error: 'power_up' defined but not used [-Werror=unused-function]
This marks the function __maybe_unused to avoid the warning and
silently drop the definition when it is unused.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'drivers/usb/musb')
0 files changed, 0 insertions, 0 deletions