staging: bcm2835-audio: remove function snd_bcm2835_new_ctl()
authorCalvince Otieno <calvncce@gmail.com>
Thu, 19 Oct 2023 07:28:39 +0000 (10:28 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Oct 2023 10:00:39 +0000 (12:00 +0200)
The function snd_bcm2835_new_ctl() is declared but not defined.
Its definition was removed 1 year ago in the
commit 143b67f19ba1 ("staging: bcm2835-audio: remove compat ALSA card")

Signed-off-by: Calvince Otieno <calvncce@gmail.com>
Link: https://lore.kernel.org/r/ZTDap2d5X7eXXPo2@lab-ubuntu
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/bcm2835-audio/bcm2835.h

index 0a81383c475ab6ad72a7d9761f0962e7c6f7721f..49ec5b496edb4ba8634171b1390c4e15181e4048 100644 (file)
@@ -84,7 +84,6 @@ struct bcm2835_alsa_stream {
        int idx;
 };
 
-int snd_bcm2835_new_ctl(struct bcm2835_chip *chip);
 int snd_bcm2835_new_pcm(struct bcm2835_chip *chip, const char *name,
                        int idx, enum snd_bcm2835_route route,
                        u32 numchannels, bool spdif);