From: Takashi Iwai Date: Tue, 17 Feb 2015 20:46:37 +0000 (+0100) Subject: ALSA: hda - Make snd_hda_bus_type public X-Git-Tag: omap-for-v4.2/o2_dc~120^2~6^2~42 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3d280fc6d42017b2379503fbda83655a05294fe;p=pandora-kernel.git ALSA: hda - Make snd_hda_bus_type public 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 --- Reading git-diff-tree failed