Skip to content

Commit 51a50d6

Browse files
tiwaibroonie
authored andcommitted
ASoC: tegra: 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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent f827d7a commit 51a50d6

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

sound/soc/tegra/Makefile

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
# SPDX-License-Identifier: GPL-2.0
22
# Tegra platform Support
3-
snd-soc-tegra-pcm-objs := tegra_pcm.o
4-
snd-soc-tegra-utils-objs += tegra_asoc_utils.o
5-
snd-soc-tegra20-ac97-objs := tegra20_ac97.o
6-
snd-soc-tegra20-das-objs := tegra20_das.o
7-
snd-soc-tegra20-i2s-objs := tegra20_i2s.o
8-
snd-soc-tegra20-spdif-objs := tegra20_spdif.o
9-
snd-soc-tegra30-ahub-objs := tegra30_ahub.o
10-
snd-soc-tegra30-i2s-objs := tegra30_i2s.o
11-
snd-soc-tegra210-ahub-objs := tegra210_ahub.o
12-
snd-soc-tegra210-dmic-objs := tegra210_dmic.o
13-
snd-soc-tegra210-i2s-objs := tegra210_i2s.o
14-
snd-soc-tegra186-asrc-objs := tegra186_asrc.o
15-
snd-soc-tegra186-dspk-objs := tegra186_dspk.o
16-
snd-soc-tegra210-admaif-objs := tegra210_admaif.o
17-
snd-soc-tegra210-mvc-objs := tegra210_mvc.o
18-
snd-soc-tegra210-sfc-objs := tegra210_sfc.o
19-
snd-soc-tegra210-amx-objs := tegra210_amx.o
20-
snd-soc-tegra210-adx-objs := tegra210_adx.o
21-
snd-soc-tegra210-mixer-objs := tegra210_mixer.o
22-
snd-soc-tegra210-ope-objs := tegra210_ope.o tegra210_mbdrc.o tegra210_peq.o
3+
snd-soc-tegra-pcm-y := tegra_pcm.o
4+
snd-soc-tegra-utils-y += tegra_asoc_utils.o
5+
snd-soc-tegra20-ac97-y := tegra20_ac97.o
6+
snd-soc-tegra20-das-y := tegra20_das.o
7+
snd-soc-tegra20-i2s-y := tegra20_i2s.o
8+
snd-soc-tegra20-spdif-y := tegra20_spdif.o
9+
snd-soc-tegra30-ahub-y := tegra30_ahub.o
10+
snd-soc-tegra30-i2s-y := tegra30_i2s.o
11+
snd-soc-tegra210-ahub-y := tegra210_ahub.o
12+
snd-soc-tegra210-dmic-y := tegra210_dmic.o
13+
snd-soc-tegra210-i2s-y := tegra210_i2s.o
14+
snd-soc-tegra186-asrc-y := tegra186_asrc.o
15+
snd-soc-tegra186-dspk-y := tegra186_dspk.o
16+
snd-soc-tegra210-admaif-y := tegra210_admaif.o
17+
snd-soc-tegra210-mvc-y := tegra210_mvc.o
18+
snd-soc-tegra210-sfc-y := tegra210_sfc.o
19+
snd-soc-tegra210-amx-y := tegra210_amx.o
20+
snd-soc-tegra210-adx-y := tegra210_adx.o
21+
snd-soc-tegra210-mixer-y := tegra210_mixer.o
22+
snd-soc-tegra210-ope-y := tegra210_ope.o tegra210_mbdrc.o tegra210_peq.o
2323

2424
obj-$(CONFIG_SND_SOC_TEGRA) += snd-soc-tegra-pcm.o
2525
obj-$(CONFIG_SND_SOC_TEGRA20_AC97) += snd-soc-tegra20-ac97.o
@@ -42,9 +42,9 @@ obj-$(CONFIG_SND_SOC_TEGRA210_MIXER) += snd-soc-tegra210-mixer.o
4242
obj-$(CONFIG_SND_SOC_TEGRA210_OPE) += snd-soc-tegra210-ope.o
4343

4444
# Tegra machine Support
45-
snd-soc-tegra-wm8903-objs := tegra_wm8903.o
46-
snd-soc-tegra-machine-objs := tegra_asoc_machine.o
47-
snd-soc-tegra-audio-graph-card-objs := tegra_audio_graph_card.o
45+
snd-soc-tegra-wm8903-y := tegra_wm8903.o
46+
snd-soc-tegra-machine-y := tegra_asoc_machine.o
47+
snd-soc-tegra-audio-graph-card-y := tegra_audio_graph_card.o
4848

4949
obj-$(CONFIG_SND_SOC_TEGRA_WM8903) += snd-soc-tegra-wm8903.o
5050
obj-$(CONFIG_SND_SOC_TEGRA_MACHINE_DRV) += snd-soc-tegra-machine.o

0 commit comments

Comments
 (0)