platform: msm: Export usb_bam symbols for module compilation

Some symbols utilized by f_qdss are not exported, which leads to symbol
undefined errors when compiling usb_bam as a module.  Export the symbols
remaining symbols used by f_qdss.

Change-Id: I3f01cee19bbbc990487df4437e15c3c5aa2a98e5
Signed-off-by: Wesley Cheng <wcheng@codeaurora.org>
This commit is contained in:
Wesley Cheng 2020-08-29 01:45:23 -07:00 • committed by Gerrit - the friendly Code Review server
commit 077ffb878d

View file

@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2011-2019, The Linux Foundation. All rights reserved.
* Copyright (c) 2011-2020, The Linux Foundation. All rights reserved.
*/
#include <linux/kernel.h>
@ -445,6 +445,7 @@ int usb_bam_alloc_fifos(enum usb_ctrl cur_bam, u8 idx)
}
return 0;
}
EXPORT_SYMBOL(usb_bam_alloc_fifos);
int usb_bam_free_fifos(enum usb_ctrl cur_bam, u8 idx)
{
@ -521,6 +522,7 @@ int usb_bam_free_fifos(enum usb_ctrl cur_bam, u8 idx)
return 0;
}
EXPORT_SYMBOL(usb_bam_free_fifos);
static int connect_pipe(enum usb_ctrl cur_bam, u8 idx, u32 *usb_pipe_idx,
unsigned long iova)
@ -635,6 +637,7 @@ int get_qdss_bam_info(enum usb_ctrl cur_bam, u8 idx,
return 0;
}
EXPORT_SYMBOL(get_qdss_bam_info);
int usb_bam_connect(enum usb_ctrl cur_bam, int idx, u32 *bam_pipe_idx,
unsigned long iova)
@ -691,6 +694,7 @@ int usb_bam_connect(enum usb_ctrl cur_bam, int idx, u32 *bam_pipe_idx,
return 0;
}
EXPORT_SYMBOL(usb_bam_connect);
int usb_bam_get_pipe_type(enum usb_ctrl bam_type, u8 idx,
enum usb_bam_pipe_type *type)
@ -945,6 +949,7 @@ int usb_bam_disconnect_pipe(enum usb_ctrl bam_type, u8 idx)
return 0;
}
EXPORT_SYMBOL(usb_bam_disconnect_pipe);
static void usb_bam_sps_events(enum sps_callback_case sps_cb_case, void *user)
{