diff options
| author | Jack Pham <jackp@codeaurora.org> | 2016-03-23 13:18:03 -0700 |
|---|---|---|
| committer | Badhri Jagan Sridharan <badhri@google.com> | 2016-05-03 23:45:13 +0000 |
| commit | d114f2c3570fc63019656b6870e4fcc506852334 (patch) | |
| tree | 3a08d6cfd76ccad09a1d3797f56c2edecc4b083a /scripts | |
| parent | f24888af18176246638498325fb1ecd49e0ef00e (diff) | |
usb: dual-role: make stub functions inline
If CONFIG_DUAL_ROLE_USB_INTF is disabled but the exported functions
are referenced, the build will result in warnings such as:
In file included from include/linux/usb/class-dual-role.h:112:13:
warning: ‘dual_role_instance_changed’ defined but not used
[-Wunused-function]
These stub functions should be static inline.
Change-Id: I5a9ef58dca32306fac5a4c7f28cdaa36fa8ae078
Signed-off-by: Jack Pham <jackp@codeaurora.org>
(cherry picked from commit 2d152dbb0743526b21d6bbefe097f874c027f860)
(cherry picked from commit 8ad66cafaa10e6ba94ff79a8dbc2cc437c6bfe93)
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
