Skip to content

Commit 8c26836

Browse files
tiwaibroonie
authored andcommitted
ASoC: sh: 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 e93c3b9 commit 8c26836

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

sound/soc/sh/Makefile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# SPDX-License-Identifier: GPL-2.0
22
## DMA engines
3-
snd-soc-dma-sh7760-objs := dma-sh7760.o
3+
snd-soc-dma-sh7760-y := dma-sh7760.o
44
obj-$(CONFIG_SND_SOC_PCM_SH7760) += snd-soc-dma-sh7760.o
55

66
## audio units found on some SH-4
7-
snd-soc-hac-objs := hac.o
8-
snd-soc-ssi-objs := ssi.o
9-
snd-soc-fsi-objs := fsi.o
10-
snd-soc-siu-objs := siu_pcm.o siu_dai.o
7+
snd-soc-hac-y := hac.o
8+
snd-soc-ssi-y := ssi.o
9+
snd-soc-fsi-y := fsi.o
10+
snd-soc-siu-y := siu_pcm.o siu_dai.o
1111
obj-$(CONFIG_SND_SOC_SH4_HAC) += snd-soc-hac.o
1212
obj-$(CONFIG_SND_SOC_SH4_SSI) += snd-soc-ssi.o
1313
obj-$(CONFIG_SND_SOC_SH4_FSI) += snd-soc-fsi.o
@@ -17,12 +17,12 @@ obj-$(CONFIG_SND_SOC_SH4_SIU) += snd-soc-siu.o
1717
obj-$(CONFIG_SND_SOC_RCAR) += rcar/
1818

1919
## boards
20-
snd-soc-sh7760-ac97-objs := sh7760-ac97.o
21-
snd-soc-migor-objs := migor.o
20+
snd-soc-sh7760-ac97-y := sh7760-ac97.o
21+
snd-soc-migor-y := migor.o
2222

2323
obj-$(CONFIG_SND_SH7760_AC97) += snd-soc-sh7760-ac97.o
2424
obj-$(CONFIG_SND_SIU_MIGOR) += snd-soc-migor.o
2525

2626
# RZ/G2L
27-
snd-soc-rz-ssi-objs := rz-ssi.o
27+
snd-soc-rz-ssi-y := rz-ssi.o
2828
obj-$(CONFIG_SND_SOC_RZ) += snd-soc-rz-ssi.o

sound/soc/sh/rcar/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
2-
snd-soc-rcar-objs := core.o gen.o dma.o adg.o ssi.o ssiu.o src.o ctu.o mix.o dvc.o cmd.o debugfs.o
2+
snd-soc-rcar-y := core.o gen.o dma.o adg.o ssi.o ssiu.o src.o ctu.o mix.o dvc.o cmd.o debugfs.o
33
obj-$(CONFIG_SND_SOC_RCAR) += snd-soc-rcar.o

0 commit comments

Comments
 (0)