diff options
| author | Swetha Chikkaboraiah <schikk@codeaurora.org> | 2020-03-02 10:55:12 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2020-05-21 23:57:59 -0700 |
| commit | 6dbab77b6ddda309f56027f135f1eede33b76c2c (patch) | |
| tree | 1d6202db5896c0cd90b44962678ebfafec402362 /drivers/platform/msm/usb_bam.c | |
| parent | 5a6566f225652a01f17f062b4fa91f269e49014a (diff) | |
kernel: Fix build errors with LLVM
This patch intends to fix compilation errors
while building kernel with LLVM toolchain.
Change-Id: I76c4f97d8a0efb44434d54fb07cae23b050d2003
Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
Diffstat (limited to 'drivers/platform/msm/usb_bam.c')
| -rw-r--r-- | drivers/platform/msm/usb_bam.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/platform/msm/usb_bam.c b/drivers/platform/msm/usb_bam.c index a9bcabfdb009..b1d9211e09df 100644 --- a/drivers/platform/msm/usb_bam.c +++ b/drivers/platform/msm/usb_bam.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2011-2017, The Linux Foundation. All rights reserved. +/* Copyright (c) 2011-2017, 2020, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -1400,7 +1400,7 @@ void usb_bam_finish_suspend_(struct work_struct *w) info_ptr = container_of(w, struct usb_bam_ipa_handshake_info, finish_suspend_work); - cur_bam = info_ptr->cur_bam_mode; + cur_bam = (enum usb_ctrl)(info_ptr->cur_bam_mode); log_event_dbg("%s: Finishing suspend sequence(BAM=%s)\n", __func__, bam_enable_strings[cur_bam]); |
