mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-01 15:14:52 +00:00

The snd-hda-codec module contains the most of common code used by both HD-audio controller and codec drivers, and it's basically independent from PCI. Let's move the code to sound/hda/common directory as a part of code reorganization. The hda_ prefix is dropped from the most of file names as it's rather superfluous. Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20250709160434.1859-4-tiwai@suse.de
14 lines
389 B
Makefile
14 lines
389 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
snd-hda-codec-y := bind.o codec.o jack.o auto_parser.o sysfs.o
|
|
snd-hda-codec-y += controller.o
|
|
snd-hda-codec-$(CONFIG_SND_PROC_FS) += proc.o
|
|
|
|
snd-hda-codec-$(CONFIG_SND_HDA_HWDEP) += hwdep.o
|
|
snd-hda-codec-$(CONFIG_SND_HDA_INPUT_BEEP) += beep.o
|
|
|
|
# for trace-points
|
|
CFLAGS_controller.o := -I$(src)
|
|
|
|
# common driver
|
|
obj-$(CONFIG_SND_HDA) := snd-hda-codec.o
|