[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1313355177-12605-5-git-send-email-slyfox@gentoo.org>
Date: Sun, 14 Aug 2011 23:52:55 +0300
From: Sergei Trofimovich <slyfox@...too.org>
To: linux-kernel@...r.kernel.org
Cc: Sergei Trofimovich <slyfox@...too.org>,
Ben Collins <bcollins@...echerry.net>,
Greg Kroah-Hartman <gregkh@...e.de>,
Krzysztof Hałasa <khalasa@...p.pl>,
devel@...verdev.osuosl.org
Subject: [PATCH] staging: solo6x10/p2m: fix build failure
Found on allmodconfig build (ARCH=alpha)
drivers/staging/solo6x10/p2m.c: In function 'solo_p2m_dma_t':
drivers/staging/solo6x10/p2m.c:52: error: implicit declaration of function 'kzalloc'
Signed-off-by: Sergei Trofimovich <slyfox@...too.org>
Cc: Ben Collins <bcollins@...echerry.net>
Cc: Greg Kroah-Hartman <gregkh@...e.de>
Cc: "Krzysztof Hałasa" <khalasa@...p.pl>
Cc: devel@...verdev.osuosl.org
---
drivers/staging/solo6x10/p2m.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/staging/solo6x10/p2m.c b/drivers/staging/solo6x10/p2m.c
index 5717eab..2fce566 100644
--- a/drivers/staging/solo6x10/p2m.c
+++ b/drivers/staging/solo6x10/p2m.c
@@ -19,6 +19,7 @@
#include <linux/kernel.h>
#include <linux/scatterlist.h>
+#include <linux/slab.h>
#include "solo6x10.h"
/* #define SOLO_TEST_P2M */
--
1.7.3.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists