mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-25 05:34:00 +08:00
e3d280fc6d
Define the common hd-audio driver and device types to bind over snd_hda_bus_type publicly. This allows to implement other type of device and driver code over hd-audio bus. Now both struct hda_codec and struct hda_codec_driver inherit these new struct hdac_device and struct hdac_driver, respectively. The bus registration is done in subsys_initcall() to assure it before any other driver registrations. Signed-off-by: Takashi Iwai <tiwai@suse.de>
4 lines
82 B
Makefile
4 lines
82 B
Makefile
snd-hda-core-objs := hda_bus_type.o
|
|
|
|
obj-$(CONFIG_SND_HDA_CORE) += snd-hda-core.o
|