5 #ifndef __SOUND_HDAUDIO_H
6 #define __SOUND_HDAUDIO_H
8 #include <linux/device.h>
13 extern struct bus_type snd_hda_bus_type;
16 * HD-audio codec base device
23 /* device/driver type used for matching */
29 #define dev_to_hdac_dev(_dev) container_of(_dev, struct hdac_device, dev)
32 * HD-audio codec base driver
35 struct device_driver driver;
37 int (*match)(struct hdac_device *dev, struct hdac_driver *drv);
40 #define drv_to_hdac_driver(_drv) container_of(_drv, struct hdac_driver, driver)
42 #endif /* __SOUND_HDAUDIO_H */