lkml.org 
[lkml]   [2011]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] staging: solo6x10/g723: fix build failure
Date
Found on allmodconfig build (ARCH=alpha)

drivers/staging/solo6x10/g723.c: In function 'snd_solo_pcm_open':
drivers/staging/solo6x10/g723.c:139: error: implicit declaration of function 'kzalloc'

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Cc: Ben Collins <bcollins@bluecherry.net>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Cc: "Krzysztof Hałasa" <khalasa@piap.pl>
Cc: devel@driverdev.osuosl.org
---
drivers/staging/solo6x10/g723.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/staging/solo6x10/g723.c b/drivers/staging/solo6x10/g723.c
index bd8eb92..1a4f19e 100644
--- a/drivers/staging/solo6x10/g723.c
+++ b/drivers/staging/solo6x10/g723.c
@@ -22,6 +22,7 @@
#include <linux/poll.h>
#include <linux/kthread.h>
#include <linux/freezer.h>
+#include <linux/slab.h>
#include <sound/core.h>
#include <sound/initval.h>
#include <sound/pcm.h>
--
1.7.3.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2011-08-14 22:57    [W:0.241 / U:1.644 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site