aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/sound/hdaudio.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sound/hdaudio.h b/include/sound/hdaudio.h
index b81b4bec6f05..6ed2b421e29e 100644
--- a/include/sound/hdaudio.h
+++ b/include/sound/hdaudio.h
@@ -14,6 +14,7 @@ typedef u16 hda_nid_t;
14struct hdac_bus; 14struct hdac_bus;
15struct hdac_device; 15struct hdac_device;
16struct hdac_driver; 16struct hdac_driver;
17struct hdac_widget_tree;
17 18
18/* 19/*
19 * exported bus type 20 * exported bus type
@@ -53,6 +54,9 @@ struct hdac_device {
53 54
54 /* misc flags */ 55 /* misc flags */
55 atomic_t in_pm; /* suspend/resume being performed */ 56 atomic_t in_pm; /* suspend/resume being performed */
57
58 /* sysfs */
59 struct hdac_widget_tree *widgets;
56}; 60};
57 61
58/* device/driver type used for matching */ 62/* device/driver type used for matching */
@@ -71,6 +75,8 @@ enum {
71int snd_hdac_device_init(struct hdac_device *dev, struct hdac_bus *bus, 75int snd_hdac_device_init(struct hdac_device *dev, struct hdac_bus *bus,
72 const char *name, unsigned int addr); 76 const char *name, unsigned int addr);
73void snd_hdac_device_exit(struct hdac_device *dev); 77void snd_hdac_device_exit(struct hdac_device *dev);
78int snd_hdac_device_register(struct hdac_device *codec);
79void snd_hdac_device_unregister(struct hdac_device *codec);
74 80
75int snd_hdac_refresh_widgets(struct hdac_device *codec); 81int snd_hdac_refresh_widgets(struct hdac_device *codec);
76 82