ASoC: Change platform driver to component driver
snd_soc_platform_driver is removed in kernel-4.19. Update snd_soc_platform_driver to snd_soc_component_driver. Change-Id: I434b6fd173d1f4365a610d9164342d5d04d6c5bc Signed-off-by: Meng Wang <mengw@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

父節點
6463cdbf2f
當前提交
ee084a068e
@@ -1,6 +1,6 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/*
|
||||
* Copyright (c) 2012-2014, 2017, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2012-2014, 2017-2018, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef _MSM_DTS_SRS_TM_CONFIG_H_
|
||||
@@ -21,13 +21,13 @@ union srs_trumedia_params_u {
|
||||
void msm_dts_srs_tm_ion_memmap(struct param_outband *po_);
|
||||
void msm_dts_srs_tm_init(int port_id, int copp_idx);
|
||||
void msm_dts_srs_tm_deinit(int port_id);
|
||||
void msm_dts_srs_tm_add_controls(struct snd_soc_platform *platform);
|
||||
void msm_dts_srs_tm_add_controls(struct snd_soc_component *component);
|
||||
#else
|
||||
static inline void msm_dts_srs_tm_ion_memmap(struct param_outband *po_) { }
|
||||
static inline void msm_dts_srs_tm_init(int port_id, int copp_idx) { }
|
||||
static inline void msm_dts_srs_tm_deinit(int port_id) { }
|
||||
static inline void msm_dts_srs_tm_add_controls(
|
||||
struct snd_soc_platform *platform) { }
|
||||
struct snd_soc_component *component) { }
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user