Skip to content

Commit 9d819c2

Browse files
tiwaibroonie
authored andcommitted
ASoC: mediatek: Use *-y instead of *-objs in Makefile
*-objs suffix is reserved rather for (user-space) host programs while usually *-y suffix is used for kernel drivers (although *-objs works for that purpose for now). Let's correct the old usages of *-objs in Makefiles. Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://lore.kernel.org/r/20240507155540.24815-17-tiwai@suse.de Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 3299aa6 commit 9d819c2

9 files changed

Lines changed: 10 additions & 10 deletions

File tree

sound/soc/mediatek/common/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0
22
# platform driver
3-
snd-soc-mtk-common-objs := mtk-afe-platform-driver.o mtk-afe-fe-dai.o mtk-dsp-sof-common.o mtk-soundcard-driver.o
4-
snd-soc-mtk-common-objs += mtk-dai-adda-common.o
3+
snd-soc-mtk-common-y := mtk-afe-platform-driver.o mtk-afe-fe-dai.o mtk-dsp-sof-common.o mtk-soundcard-driver.o
4+
snd-soc-mtk-common-y += mtk-dai-adda-common.o
55

66
obj-$(CONFIG_SND_SOC_MEDIATEK) += snd-soc-mtk-common.o
77

sound/soc/mediatek/mt2701/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SPDX-License-Identifier: GPL-2.0
22
# platform driver
3-
snd-soc-mt2701-afe-objs := mt2701-afe-pcm.o mt2701-afe-clock-ctrl.o
3+
snd-soc-mt2701-afe-y := mt2701-afe-pcm.o mt2701-afe-clock-ctrl.o
44
obj-$(CONFIG_SND_SOC_MT2701) += snd-soc-mt2701-afe.o
55

66
# machine driver

sound/soc/mediatek/mt6797/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0
22

33
# platform driver
4-
snd-soc-mt6797-afe-objs := \
4+
snd-soc-mt6797-afe-y := \
55
mt6797-afe-pcm.o \
66
mt6797-afe-clk.o \
77
mt6797-dai-pcm.o \

sound/soc/mediatek/mt7986/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0
22

33
# platform driver
4-
snd-soc-mt7986-afe-objs := \
4+
snd-soc-mt7986-afe-y := \
55
mt7986-afe-pcm.o \
66
mt7986-dai-etdm.o
77

sound/soc/mediatek/mt8183/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0
22

33
# platform driver
4-
snd-soc-mt8183-afe-objs := \
4+
snd-soc-mt8183-afe-y := \
55
mt8183-afe-pcm.o \
66
mt8183-afe-clk.o \
77
mt8183-dai-i2s.o \

sound/soc/mediatek/mt8186/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0
22

33
# platform driver
4-
snd-soc-mt8186-afe-objs := \
4+
snd-soc-mt8186-afe-y := \
55
mt8186-afe-pcm.o \
66
mt8186-audsys-clk.o \
77
mt8186-afe-clk.o \

sound/soc/mediatek/mt8188/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0
22

33
# platform driver
4-
snd-soc-mt8188-afe-objs := \
4+
snd-soc-mt8188-afe-y := \
55
mt8188-afe-clk.o \
66
mt8188-afe-pcm.o \
77
mt8188-audsys-clk.o \

sound/soc/mediatek/mt8192/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0
22

33
# platform driver
4-
snd-soc-mt8192-afe-objs := \
4+
snd-soc-mt8192-afe-y := \
55
mt8192-afe-pcm.o \
66
mt8192-afe-clk.o \
77
mt8192-afe-gpio.o \

sound/soc/mediatek/mt8195/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0
22

33
# platform driver
4-
snd-soc-mt8195-afe-objs := \
4+
snd-soc-mt8195-afe-y := \
55
mt8195-audsys-clk.o \
66
mt8195-afe-clk.o \
77
mt8195-afe-pcm.o \

0 commit comments

Comments
 (0)