summaryrefslogtreecommitdiff
path: root/sound/hda/local.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-08-14 18:27:08 +0200
committerTakashi Iwai <tiwai@suse.de>2019-08-14 19:51:24 +0200
commit53eff75e5f4dd4b9bc489955fdc60fde48d85e93 (patch)
treea92f321c63d90e5f2c361e1ec14e22b5d63a14de /sound/hda/local.h
parentee5f85d9290fe25d460bd320b7fe073075d72d33 (diff)
ALSA: hda: Drop export of snd_hdac_bus_add/remove_device()
snd_hdac_bus_add_device() and snd_hdac_remove_device() are called only internally in hda-core. Let's drop the exports of them and move the declarations into local.h. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/hda/local.h')
-rw-r--r--sound/hda/local.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/hda/local.h b/sound/hda/local.h
index 877631e39373..3a4e303169a6 100644
--- a/sound/hda/local.h
+++ b/sound/hda/local.h
@@ -33,4 +33,8 @@ int hda_widget_sysfs_reinit(struct hdac_device *codec, hda_nid_t start_nid,
int num_nodes);
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);
+
#endif /* __HDAC_LOCAL_H */