linux/sound/hda/hda_bus_type.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * HD-audio bus
 */
#include <linux/init.h>
#include <linux/device.h>
#include <linux/module.h>
#include <linux/mod_devicetable.h>
#include <linux/export.h>
#include <sound/hdaudio.h>

MODULE_DESCRIPTION();
MODULE_LICENSE();

/**
 * hdac_get_device_id - gets the hdac device id entry
 * @hdev: HD-audio core device
 * @drv: HD-audio codec driver
 *
 * Compares the hdac device vendor_id and revision_id to the hdac_device
 * driver id_table and returns the matching device id entry.
 */
const struct hda_device_id *
hdac_get_device_id(struct hdac_device *hdev, struct hdac_driver *drv)
{}
EXPORT_SYMBOL_GPL();

static int hdac_codec_match(struct hdac_device *dev, struct hdac_driver *drv)
{}

static int hda_bus_match(struct device *dev, const struct device_driver *drv)
{}

static int hda_uevent(const struct device *dev, struct kobj_uevent_env *env)
{}

const struct bus_type snd_hda_bus_type =;
EXPORT_SYMBOL_GPL();

static int __init hda_bus_init(void)
{}

static void __exit hda_bus_exit(void)
{}

subsys_initcall(hda_bus_init);
module_exit(hda_bus_exit);