#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(…) …;
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);