diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/sound/hdaudio.h | 6 |
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; | |||
| 14 | struct hdac_bus; | 14 | struct hdac_bus; |
| 15 | struct hdac_device; | 15 | struct hdac_device; |
| 16 | struct hdac_driver; | 16 | struct hdac_driver; |
| 17 | struct 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 { | |||
| 71 | int snd_hdac_device_init(struct hdac_device *dev, struct hdac_bus *bus, | 75 | int 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); |
| 73 | void snd_hdac_device_exit(struct hdac_device *dev); | 77 | void snd_hdac_device_exit(struct hdac_device *dev); |
| 78 | int snd_hdac_device_register(struct hdac_device *codec); | ||
| 79 | void snd_hdac_device_unregister(struct hdac_device *codec); | ||
| 74 | 80 | ||
| 75 | int snd_hdac_refresh_widgets(struct hdac_device *codec); | 81 | int snd_hdac_refresh_widgets(struct hdac_device *codec); |
| 76 | 82 | ||
