ASoC: mediatek: Use *-y instead of *-objs in Makefile
authorTakashi Iwai <tiwai@suse.de>
Tue, 7 May 2024 15:55:20 +0000 (17:55 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 8 May 2024 02:39:23 +0000 (11:39 +0900)
*-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>
sound/soc/mediatek/common/Makefile
sound/soc/mediatek/mt2701/Makefile
sound/soc/mediatek/mt6797/Makefile
sound/soc/mediatek/mt7986/Makefile
sound/soc/mediatek/mt8183/Makefile
sound/soc/mediatek/mt8186/Makefile
sound/soc/mediatek/mt8188/Makefile
sound/soc/mediatek/mt8192/Makefile
sound/soc/mediatek/mt8195/Makefile

index 363cc258a3d55241a96f16d689f4dfa52e5a4fb3..c90d276cf4ed10de2da77da1bb6adc20e4508d3a 100644 (file)
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 # platform driver
-snd-soc-mtk-common-objs := mtk-afe-platform-driver.o mtk-afe-fe-dai.o mtk-dsp-sof-common.o mtk-soundcard-driver.o
-snd-soc-mtk-common-objs += mtk-dai-adda-common.o
+snd-soc-mtk-common-y := mtk-afe-platform-driver.o mtk-afe-fe-dai.o mtk-dsp-sof-common.o mtk-soundcard-driver.o
+snd-soc-mtk-common-y += mtk-dai-adda-common.o
 
 obj-$(CONFIG_SND_SOC_MEDIATEK) += snd-soc-mtk-common.o
 
index 21d5e697cfa7b34d58edf0d382cba5393293616a..507fa26c3945289de941ea30c8e159434df8bb2a 100644 (file)
@@ -1,6 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0
 # platform driver
-snd-soc-mt2701-afe-objs := mt2701-afe-pcm.o mt2701-afe-clock-ctrl.o
+snd-soc-mt2701-afe-y := mt2701-afe-pcm.o mt2701-afe-clock-ctrl.o
 obj-$(CONFIG_SND_SOC_MT2701) += snd-soc-mt2701-afe.o
 
 # machine driver
index bf6e179ea93ff1c01c5ec1228475d06466987cd9..150021495e94ce8515090a420cda6977d724480c 100644 (file)
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 
 # platform driver
-snd-soc-mt6797-afe-objs := \
+snd-soc-mt6797-afe-y := \
        mt6797-afe-pcm.o \
        mt6797-afe-clk.o \
        mt6797-dai-pcm.o \
index fc4c82559b298ffe1bec0abb9096d9472863165b..4b54bbe88683eb5b848360eed8b2ea62a57bffb0 100644 (file)
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 
 # platform driver
-snd-soc-mt7986-afe-objs := \
+snd-soc-mt7986-afe-y := \
        mt7986-afe-pcm.o \
        mt7986-dai-etdm.o
 
index c0a3bbc2c1f6c7f353d6df1db68d49869f85a345..0d0dcdde00fcc88ae687795a828da8818dd379f6 100644 (file)
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 
 # platform driver
-snd-soc-mt8183-afe-objs := \
+snd-soc-mt8183-afe-y := \
        mt8183-afe-pcm.o \
        mt8183-afe-clk.o \
        mt8183-dai-i2s.o \
index fa2f0efce815905d498dd5a1ee755175c60432b0..ab3f5b763df89e1cff8a51708e03963a6bbe6cb7 100644 (file)
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 
 # platform driver
-snd-soc-mt8186-afe-objs := \
+snd-soc-mt8186-afe-y := \
        mt8186-afe-pcm.o \
        mt8186-audsys-clk.o \
        mt8186-afe-clk.o \
index 781e61cbb22b01a09336262ef4969344453d4ed6..1178bce45c50ba252672a32b3877732a5a76c610 100644 (file)
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 
 # platform driver
-snd-soc-mt8188-afe-objs := \
+snd-soc-mt8188-afe-y := \
        mt8188-afe-clk.o \
        mt8188-afe-pcm.o \
        mt8188-audsys-clk.o \
index 8b27d82626ea427794ce1f957d1a9198470fef59..d60c36bcdccec493d1bd2258761faaf6f89b11ac 100644 (file)
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 
 # platform driver
-snd-soc-mt8192-afe-objs := \
+snd-soc-mt8192-afe-y := \
        mt8192-afe-pcm.o \
        mt8192-afe-clk.o \
        mt8192-afe-gpio.o \
index aae673ec751b01611cff0980ac7d509b8732c115..014e93dace2649c450e84a197adceb4cb91a6b74 100644 (file)
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 
 # platform driver
-snd-soc-mt8195-afe-objs := \
+snd-soc-mt8195-afe-y := \
        mt8195-audsys-clk.o \
        mt8195-afe-clk.o \
        mt8195-afe-pcm.o \