ALSA: aoa: Use *-y instead of *-objs in Makefile
authorTakashi Iwai <tiwai@suse.de>
Tue, 7 May 2024 13:55:08 +0000 (15:55 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 8 May 2024 16:18:08 +0000 (18:18 +0200)
*-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>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Link: https://lore.kernel.org/r/20240507135513.14919-9-tiwai@suse.de
sound/aoa/codecs/Makefile
sound/aoa/core/Makefile
sound/aoa/fabrics/Makefile
sound/aoa/soundbus/Makefile
sound/aoa/soundbus/i2sbus/Makefile

index 95f4c3849d550cdf2025de590e3de9604101bdea..8feedc771bd9f0f7444a90ed139268d23230bf91 100644 (file)
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
-snd-aoa-codec-onyx-objs := onyx.o
-snd-aoa-codec-tas-objs := tas.o
-snd-aoa-codec-toonie-objs := toonie.o
+snd-aoa-codec-onyx-y := onyx.o
+snd-aoa-codec-tas-y := tas.o
+snd-aoa-codec-toonie-y := toonie.o
 
 obj-$(CONFIG_SND_AOA_ONYX) += snd-aoa-codec-onyx.o
 obj-$(CONFIG_SND_AOA_TAS) += snd-aoa-codec-tas.o
index 056d69683b1e94f35990c7d0fc8a31ae4dcaada0..f586c340fe127cb2bff53fafd2349d550168eced 100644 (file)
@@ -1,6 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_SND_AOA) += snd-aoa.o
-snd-aoa-objs := core.o \
+snd-aoa-y := core.o \
                alsa.o \
                gpio-pmf.o \
                gpio-feature.o
index 3f1d55f3f1fc54916ad6e68dafce4ee48b33ca3e..2c3bee6cfa2c2240d4dfd1f6816d2c17e0bafb34 100644 (file)
@@ -1,4 +1,4 @@
 # SPDX-License-Identifier: GPL-2.0-only
-snd-aoa-fabric-layout-objs += layout.o
+snd-aoa-fabric-layout-y += layout.o
 
 obj-$(CONFIG_SND_AOA_FABRIC_LAYOUT) += snd-aoa-fabric-layout.o
index e0b61cf5518e3c19c5fd08aeea377f88a4e24f98..a10b102daf81bbdfeeb6f87aca54c0310156507b 100644 (file)
@@ -1,4 +1,4 @@
 # SPDX-License-Identifier: GPL-2.0-only
 obj-$(CONFIG_SND_AOA_SOUNDBUS) += snd-aoa-soundbus.o
-snd-aoa-soundbus-objs := core.o sysfs.o
+snd-aoa-soundbus-y := core.o sysfs.o
 obj-$(CONFIG_SND_AOA_SOUNDBUS_I2S) += i2sbus/
index 1b38c87fef094daa11fb366e2f8b7392442ea94d..1ddaa0e17d6760ebc82b9b76329cc731563bac56 100644 (file)
@@ -1,3 +1,3 @@
 # SPDX-License-Identifier: GPL-2.0-only
 obj-$(CONFIG_SND_AOA_SOUNDBUS_I2S) += snd-aoa-i2sbus.o
-snd-aoa-i2sbus-objs := core.o pcm.o control.o
+snd-aoa-i2sbus-y := core.o pcm.o control.o