diff options
author | Takashi Iwai <tiwai@suse.de> | 2020-05-16 08:28:54 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-05-16 08:29:49 +0200 |
commit | b9f2d35f05308813c4c887d5c530004f01e1829c (patch) | |
tree | d238f9f3fedefd1962c212b18b9b9b53db13c997 /sound/hda/local.h | |
parent | 6325c7fade7db4d6ebefd44604176476ffad6a4b (diff) |
ALSA: hda: Unexport some local helper functions
snd_hdac_bus_queue_event() and snd_hdac_bus_exec_verb() are used only
internally in HD-audio core. Let's drop the exports and move the
declarations into local.h.
Link: https://lore.kernel.org/r/20200516062854.22141-3-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/hda/local.h')
-rw-r--r-- | sound/hda/local.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/hda/local.h b/sound/hda/local.h index 5b935219352f..896ba142e8bc 100644 --- a/sound/hda/local.h +++ b/sound/hda/local.h @@ -36,6 +36,9 @@ void hda_widget_sysfs_exit(struct hdac_device *codec); int snd_hdac_bus_add_device(struct hdac_bus *bus, struct hdac_device *codec); void snd_hdac_bus_remove_device(struct hdac_bus *bus, struct hdac_device *codec); +void snd_hdac_bus_queue_event(struct hdac_bus *bus, u32 res, u32 res_ex); +int snd_hdac_bus_exec_verb(struct hdac_bus *bus, unsigned int addr, + unsigned int cmd, unsigned int *res); int snd_hdac_exec_verb(struct hdac_device *codec, unsigned int cmd, unsigned int flags, unsigned int *res); |