]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: roles: Introduce stubs for the exiting functions in role.h
authorYu Chen <chenyu56@huawei.com>
Thu, 29 Aug 2019 09:22:32 +0000 (17:22 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Sep 2019 14:02:32 +0000 (16:02 +0200)
commit977607653cdd06a2c4d1d0f179ff46cc0cbe83a5
treeb25ddc2146d99ce22e94d163f06619c9b689d17d
parent3ef8685f84b316ea0e6ad00d65fa5f932d995c64
usb: roles: Introduce stubs for the exiting functions in role.h

This patch adds stubs for the exiting functions while
CONFIG_USB_ROLE_SWITCH does not enabled.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: John Stultz <john.stultz@linaro.org>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Yu Chen <chenyu56@huawei.com>
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/1567070558-29417-6-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/usb/role.h