1 From 686130266ff7968edc863d398fba82bd0f78bf29 Mon Sep 17 00:00:00 2001
2 From: Christian Gromm <christian.gromm@microchip.com>
3 Date: Wed, 28 Sep 2016 13:43:36 +0200
4 Subject: [PATCH 1/4] backport module
6 This patch replaces function snd_card_new() with snd_card_create() to match
7 AGL/Renesas kernel API.
9 Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
11 aim-sound/sound.c | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
14 diff --git a/aim-sound/sound.c b/aim-sound/sound.c
15 index 3dc625c..af0af2d 100644
16 --- a/aim-sound/sound.c
17 +++ b/aim-sound/sound.c
18 @@ -595,7 +595,7 @@ static int audio_probe_channel(struct most_interface *iface, int channel_id,
22 - ret = snd_card_new(NULL, -1, card_name, THIS_MODULE,
23 + ret = snd_card_create(-1, card_name, THIS_MODULE,
24 sizeof(*channel), &card);