Skip to content

Commit c02ce17

Browse files
committed
ALSA: aoa: 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> 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
1 parent fdd51b3 commit c02ce17

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

sound/aoa/codecs/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0
2-
snd-aoa-codec-onyx-objs := onyx.o
3-
snd-aoa-codec-tas-objs := tas.o
4-
snd-aoa-codec-toonie-objs := toonie.o
2+
snd-aoa-codec-onyx-y := onyx.o
3+
snd-aoa-codec-tas-y := tas.o
4+
snd-aoa-codec-toonie-y := toonie.o
55

66
obj-$(CONFIG_SND_AOA_ONYX) += snd-aoa-codec-onyx.o
77
obj-$(CONFIG_SND_AOA_TAS) += snd-aoa-codec-tas.o

sound/aoa/core/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
obj-$(CONFIG_SND_AOA) += snd-aoa.o
3-
snd-aoa-objs := core.o \
3+
snd-aoa-y := core.o \
44
alsa.o \
55
gpio-pmf.o \
66
gpio-feature.o

sound/aoa/fabrics/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# SPDX-License-Identifier: GPL-2.0-only
2-
snd-aoa-fabric-layout-objs += layout.o
2+
snd-aoa-fabric-layout-y += layout.o
33

44
obj-$(CONFIG_SND_AOA_FABRIC_LAYOUT) += snd-aoa-fabric-layout.o

sound/aoa/soundbus/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22
obj-$(CONFIG_SND_AOA_SOUNDBUS) += snd-aoa-soundbus.o
3-
snd-aoa-soundbus-objs := core.o sysfs.o
3+
snd-aoa-soundbus-y := core.o sysfs.o
44
obj-$(CONFIG_SND_AOA_SOUNDBUS_I2S) += i2sbus/

sound/aoa/soundbus/i2sbus/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22
obj-$(CONFIG_SND_AOA_SOUNDBUS_I2S) += snd-aoa-i2sbus.o
3-
snd-aoa-i2sbus-objs := core.o pcm.o control.o
3+
snd-aoa-i2sbus-y := core.o pcm.o control.o

0 commit comments

Comments
 (0)