[PATCH] staging: solo6x10/enc: fix build failure

From: Sergei Trofimovich
Date: Sun Aug 14 2011 - 16:54:55 EST


Found on allmodconfig build (ARCH=alpha)

drivers/staging/solo6x10/enc.c: In function 'solo_capture_config':
drivers/staging/solo6x10/enc.c:101: error: implicit declaration of function 'kzalloc'

Signed-off-by: Sergei Trofimovich <slyfox@xxxxxxxxxx>
Cc: Ben Collins <bcollins@xxxxxxxxxxxxxx>
Cc: Greg Kroah-Hartman <gregkh@xxxxxxx>
Cc: "Krzysztof HaÅasa" <khalasa@xxxxxxx>
Cc: devel@xxxxxxxxxxxxxxxxxxxx
---
drivers/staging/solo6x10/enc.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/staging/solo6x10/enc.c b/drivers/staging/solo6x10/enc.c
index 285f7f3..de50259 100644
--- a/drivers/staging/solo6x10/enc.c
+++ b/drivers/staging/solo6x10/enc.c
@@ -18,6 +18,7 @@
*/

#include <linux/kernel.h>
+#include <linux/slab.h>
#include "solo6x10.h"
#include "osd-font.h"

--
1.7.3.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/