Skip to content

Commit 907cb79

Browse files
tiwaibroonie
authored andcommitted
ASoC: atmel: 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-7-tiwai@suse.de Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent fa8e548 commit 907cb79

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

sound/soc/atmel/Makefile

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# SPDX-License-Identifier: GPL-2.0
22
# AT91 Platform Support
3-
snd-soc-atmel-pcm-pdc-objs := atmel-pcm-pdc.o
4-
snd-soc-atmel-pcm-dma-objs := atmel-pcm-dma.o
5-
snd-soc-atmel_ssc_dai-objs := atmel_ssc_dai.o
6-
snd-soc-atmel-i2s-objs := atmel-i2s.o
7-
snd-soc-mchp-i2s-mcc-objs := mchp-i2s-mcc.o
8-
snd-soc-mchp-spdiftx-objs := mchp-spdiftx.o
9-
snd-soc-mchp-spdifrx-objs := mchp-spdifrx.o
10-
snd-soc-mchp-pdmc-objs := mchp-pdmc.o
3+
snd-soc-atmel-pcm-pdc-y := atmel-pcm-pdc.o
4+
snd-soc-atmel-pcm-dma-y := atmel-pcm-dma.o
5+
snd-soc-atmel_ssc_dai-y := atmel_ssc_dai.o
6+
snd-soc-atmel-i2s-y := atmel-i2s.o
7+
snd-soc-mchp-i2s-mcc-y := mchp-i2s-mcc.o
8+
snd-soc-mchp-spdiftx-y := mchp-spdiftx.o
9+
snd-soc-mchp-spdifrx-y := mchp-spdifrx.o
10+
snd-soc-mchp-pdmc-y := mchp-pdmc.o
1111

1212
# pdc and dma need to both be built-in if any user of
1313
# ssc is built-in.
@@ -25,13 +25,13 @@ obj-$(CONFIG_SND_MCHP_SOC_SPDIFRX) += snd-soc-mchp-spdifrx.o
2525
obj-$(CONFIG_SND_MCHP_SOC_PDMC) += snd-soc-mchp-pdmc.o
2626

2727
# AT91 Machine Support
28-
snd-soc-sam9g20-wm8731-objs := sam9g20_wm8731.o
29-
snd-atmel-soc-wm8904-objs := atmel_wm8904.o
30-
snd-soc-sam9x5-wm8731-objs := sam9x5_wm8731.o
31-
snd-atmel-soc-classd-objs := atmel-classd.o
32-
snd-atmel-soc-pdmic-objs := atmel-pdmic.o
33-
snd-atmel-soc-tse850-pcm5142-objs := tse850-pcm5142.o
34-
snd-soc-mikroe-proto-objs := mikroe-proto.o
28+
snd-soc-sam9g20-wm8731-y := sam9g20_wm8731.o
29+
snd-atmel-soc-wm8904-y := atmel_wm8904.o
30+
snd-soc-sam9x5-wm8731-y := sam9x5_wm8731.o
31+
snd-atmel-soc-classd-y := atmel-classd.o
32+
snd-atmel-soc-pdmic-y := atmel-pdmic.o
33+
snd-atmel-soc-tse850-pcm5142-y := tse850-pcm5142.o
34+
snd-soc-mikroe-proto-y := mikroe-proto.o
3535

3636
obj-$(CONFIG_SND_AT91_SOC_SAM9G20_WM8731) += snd-soc-sam9g20-wm8731.o
3737
obj-$(CONFIG_SND_ATMEL_SOC_WM8904) += snd-atmel-soc-wm8904.o

0 commit comments

Comments
 (0)