Commit 4bdb04f0 authored by Guneshwor Singh's avatar Guneshwor Singh Committed by Mark Brown

ASoC: Intel: cnl: Unstatify common ipc functions

Common ipc functions can be reused for cnl, so make them non-static.
Signed-off-by: default avatarGuneshwor Singh <guneshwor.o.singh@intel.com>
Acked-By: default avatarVinod Koul <vinod.koul@intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 2eed1b02
...@@ -283,7 +283,7 @@ enum skl_ipc_module_msg { ...@@ -283,7 +283,7 @@ enum skl_ipc_module_msg {
IPC_MOD_SET_D0IX = 8 IPC_MOD_SET_D0IX = 8
}; };
static void skl_ipc_tx_data_copy(struct ipc_message *msg, char *tx_data, void skl_ipc_tx_data_copy(struct ipc_message *msg, char *tx_data,
size_t tx_size) size_t tx_size)
{ {
if (tx_size) if (tx_size)
...@@ -347,7 +347,7 @@ static struct ipc_message *skl_ipc_reply_get_msg(struct sst_generic_ipc *ipc, ...@@ -347,7 +347,7 @@ static struct ipc_message *skl_ipc_reply_get_msg(struct sst_generic_ipc *ipc,
} }
static int skl_ipc_process_notification(struct sst_generic_ipc *ipc, int skl_ipc_process_notification(struct sst_generic_ipc *ipc,
struct skl_ipc_header header) struct skl_ipc_header header)
{ {
struct skl_sst *skl = container_of(ipc, struct skl_sst, ipc); struct skl_sst *skl = container_of(ipc, struct skl_sst, ipc);
...@@ -406,7 +406,7 @@ static int skl_ipc_set_reply_error_code(u32 reply) ...@@ -406,7 +406,7 @@ static int skl_ipc_set_reply_error_code(u32 reply)
} }
} }
static void skl_ipc_process_reply(struct sst_generic_ipc *ipc, void skl_ipc_process_reply(struct sst_generic_ipc *ipc,
struct skl_ipc_header header) struct skl_ipc_header header)
{ {
struct ipc_message *msg; struct ipc_message *msg;
......
...@@ -212,4 +212,10 @@ void skl_ipc_free(struct sst_generic_ipc *ipc); ...@@ -212,4 +212,10 @@ void skl_ipc_free(struct sst_generic_ipc *ipc);
int skl_ipc_init(struct device *dev, struct skl_sst *skl); int skl_ipc_init(struct device *dev, struct skl_sst *skl);
void skl_clear_module_cnt(struct sst_dsp *ctx); void skl_clear_module_cnt(struct sst_dsp *ctx);
void skl_ipc_process_reply(struct sst_generic_ipc *ipc,
struct skl_ipc_header header);
int skl_ipc_process_notification(struct sst_generic_ipc *ipc,
struct skl_ipc_header header);
void skl_ipc_tx_data_copy(struct ipc_message *msg, char *tx_data,
size_t tx_size);
#endif /* __SKL_IPC_H */ #endif /* __SKL_IPC_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment