From patchwork Thu May 20 21:08:23 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 3461 Return-path: Envelope-to: mchehab@infradead.org Delivery-date: Thu, 20 May 2010 21:10:55 +0000 Received: from bombadil.infradead.org [18.85.46.34] by pedra with IMAP (fetchmail-6.3.6) for (single-drop); Thu, 20 May 2010 18:11:37 -0300 (BRT) Received: from vger.kernel.org ([209.132.180.67]) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1OFD14-0007bL-OA; Thu, 20 May 2010 21:10:54 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757811Ab0ETVJs (ORCPT + 1 other); Thu, 20 May 2010 17:09:48 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]:25989 "EHLO rcsinet10.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754689Ab0ETVJr (ORCPT ); Thu, 20 May 2010 17:09:47 -0400 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o4KL93XD017194 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 20 May 2010 21:09:04 GMT Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o4KL90pN009334; Thu, 20 May 2010 21:09:00 GMT Received: from abhmt001.oracle.com by acsmt353.oracle.com with ESMTP id 285942311274389704; Thu, 20 May 2010 14:08:24 -0700 Received: from chimera.site (/71.245.98.113) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 20 May 2010 14:08:24 -0700 Date: Thu, 20 May 2010 14:08:23 -0700 From: Randy Dunlap To: akpm@linux-foundation.org, Guennadi Liakhovetski , Mauro Carvalho Chehab Cc: linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: [PATCH -mmotm] media: ak881x needs slab.h Message-Id: <20100520140823.a9b81de9.randy.dunlap@oracle.com> In-Reply-To: <201005192341.o4JNf5Hv012931@imap1.linux-foundation.org> References: <201005192341.o4JNf5Hv012931@imap1.linux-foundation.org> Organization: Oracle Linux Eng. X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.6; x86_64-unknown-linux-gnu) Mime-Version: 1.0 X-Auth-Type: Internal IP X-Source-IP: acsinet15.oracle.com [141.146.126.227] X-CT-RefId: str=0001.0A090209.4BF5A4F1.00BD:SCFMA922111,ss=1,fgs=0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org From: Randy Dunlap Add slab.h to fix ak881x build: drivers/media/video/ak881x.c:265:error: implicit declaration of function 'kzalloc' drivers/media/video/ak881x.c:265:warning: assignment makes pointer from integer without a cast drivers/media/video/ak881x.c:283:error: implicit declaration of function 'kfree' Signed-off-by: Randy Dunlap Cc: Guennadi Liakhovetski Cc: Mauro Carvalho Chehab --- drivers/media/video/ak881x.c | 1 + 1 file changed, 1 insertion(+) -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- mmotm-2010-0519-1612.orig/drivers/media/video/ak881x.c +++ mmotm-2010-0519-1612/drivers/media/video/ak881x.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include