mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
Asoc: Enable audio-dlkm compilation for sdmsteppe target
Enable compilation for sdmsteppe target and also fix compilation errors. Change-Id: I18a13764415ae955843706943e338bb575c11853 Signed-off-by: Md Mansoor Ahmed <mansoor@codeaurora.org>
This commit is contained in:
parent
e95846085a
commit
2382aaad1a
2 changed files with 10 additions and 3 deletions
|
|
@ -23,6 +23,9 @@ endif
|
|||
ifeq ($(TARGET_SUPPORT),qcs40x)
|
||||
KBUILD_OPTIONS += CONFIG_ARCH_QCS405=y
|
||||
endif
|
||||
ifeq ($(TARGET_SUPPORT), sdmsteppe))
|
||||
KBUILD_OPTIONS += CONFIG_ARCH_SM6150=y
|
||||
endif
|
||||
|
||||
obj-m := ipc/
|
||||
obj-m += dsp/
|
||||
|
|
@ -30,7 +33,7 @@ obj-m += dsp/codecs/
|
|||
obj-m += soc/
|
||||
obj-m += asoc/
|
||||
obj-m += asoc/codecs/
|
||||
ifeq ($(TARGET_SUPPORT), $(filter $(TARGET_SUPPORT), sdm670 qcs605))
|
||||
ifeq ($(TARGET_SUPPORT), $(filter $(TARGET_SUPPORT), sdm670 qcs605 sdmsteppe))
|
||||
obj-m += asoc/codecs/wcd934x/
|
||||
endif
|
||||
ifeq ($(TARGET_SUPPORT), $(filter $(TARGET_SUPPORT), apq8053 sdm670 qcs605))
|
||||
|
|
@ -44,6 +47,10 @@ obj-m += asoc/codecs/bolero/
|
|||
obj-m += asoc/codecs/csra66x0/
|
||||
obj-m += asoc/codecs/ep92/
|
||||
endif
|
||||
ifeq ($(TARGET_SUPPORT), sdmsteppe))
|
||||
obj-m += asoc/codecs/bolero/
|
||||
obj-m += asoc/codecs/wcd937x/
|
||||
endif
|
||||
|
||||
all:
|
||||
$(shell rm -fr $(shell pwd)/soc/core.h)
|
||||
|
|
|
|||
|
|
@ -8035,8 +8035,8 @@ static int msm_init_aux_dev(struct platform_device *pdev,
|
|||
u32 wsa_dev_cnt;
|
||||
u32 codec_aux_dev_cnt = 0;
|
||||
int i;
|
||||
struct msm_wsa881x_dev_info *wsa881x_dev_info;
|
||||
struct aux_codec_dev_info *aux_cdc_dev_info;
|
||||
struct msm_wsa881x_dev_info *wsa881x_dev_info = NULL;
|
||||
struct aux_codec_dev_info *aux_cdc_dev_info = NULL;
|
||||
const char *auxdev_name_prefix[1];
|
||||
char *dev_name_str = NULL;
|
||||
int found = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue