[PULL v2 32/85] audio: make create_pdos() private

marcandre.lureau@redhat.com posted 85 patches 1 month, 2 weeks ago
There is a newer version of this series
[PULL v2 32/85] audio: make create_pdos() private
Posted by marcandre.lureau@redhat.com 1 month, 2 weeks ago
From: Marc-André Lureau <marcandre.lureau@redhat.com>

Clean up.

Reviewed-by: Mark Cave-Ayland <mark.caveayland@nutanix.com>
Reviewed-by: Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
 audio/audio_int.h | 1 -
 audio/audio.c     | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/audio/audio_int.h b/audio/audio_int.h
index 08d07b17557..e1f9fa333ba 100644
--- a/audio/audio_int.h
+++ b/audio/audio_int.h
@@ -306,7 +306,6 @@ static inline size_t audio_ring_posb(size_t pos, size_t dist, size_t len)
 #define ldebug(fmt, ...) (void)0
 #endif
 
-void audio_create_pdos(Audiodev *dev);
 AudiodevPerDirectionOptions *audio_get_pdo_in(Audiodev *dev);
 AudiodevPerDirectionOptions *audio_get_pdo_out(Audiodev *dev);
 
diff --git a/audio/audio.c b/audio/audio.c
index d8a54548274..1fa63ee0421 100644
--- a/audio/audio.c
+++ b/audio/audio.c
@@ -1990,7 +1990,7 @@ void AUD_set_volume_in(SWVoiceIn *sw, Volume *vol)
     }
 }
 
-void audio_create_pdos(Audiodev *dev)
+static void audio_create_pdos(Audiodev *dev)
 {
     switch (dev->driver) {
 #define CASE(DRIVER, driver, pdo_name)                              \
-- 
2.53.0