From patchwork Tue Sep 6 14:02:15 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joerg Roedel X-Patchwork-Id: 1126432 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p86E2nuG006159 for ; Tue, 6 Sep 2011 14:02:51 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754659Ab1IFOCZ (ORCPT ); Tue, 6 Sep 2011 10:02:25 -0400 Received: from ch1ehsobe003.messaging.microsoft.com ([216.32.181.183]:2686 "EHLO ch1outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754618Ab1IFOCX (ORCPT ); Tue, 6 Sep 2011 10:02:23 -0400 Received: from mail83-ch1-R.bigfish.com (216.32.181.170) by CH1EHSOBE006.bigfish.com (10.43.70.56) with Microsoft SMTP Server id 14.1.225.22; Tue, 6 Sep 2011 14:02:22 +0000 Received: from mail83-ch1 (localhost.localdomain [127.0.0.1]) by mail83-ch1-R.bigfish.com (Postfix) with ESMTP id 6424714581CD; Tue, 6 Sep 2011 14:02:22 +0000 (UTC) X-SpamScore: 1 X-BigFish: VPS1(zzzz1202hzz8275bh8275dhz32i668h839h) X-Forefront-Antispam-Report: CIP:163.181.249.108; KIP:(null); UIP:(null); IPVD:NLI; H:ausb3twp01.amd.com; RD:none; EFVD:NLI X-FB-SS: 13, Received: from mail83-ch1 (localhost.localdomain [127.0.0.1]) by mail83-ch1 (MessageSwitch) id 1315317742166642_22368; Tue, 6 Sep 2011 14:02:22 +0000 (UTC) Received: from CH1EHSMHS013.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.246]) by mail83-ch1.bigfish.com (Postfix) with ESMTP id 21505189804F; Tue, 6 Sep 2011 14:02:22 +0000 (UTC) Received: from ausb3twp01.amd.com (163.181.249.108) by CH1EHSMHS013.bigfish.com (10.43.70.13) with Microsoft SMTP Server id 14.1.225.22; Tue, 6 Sep 2011 14:02:20 +0000 X-WSS-ID: 0LR3TNR-01-EVV-02 X-M-MSG: Received: from sausexedgep01.amd.com (sausexedgep01-ext.amd.com [163.181.249.72]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by ausb3twp01.amd.com (Axway MailGate 3.8.1) with ESMTP id 24A6B10284DE; Tue, 6 Sep 2011 09:02:15 -0500 (CDT) Received: from sausexhtp02.amd.com (163.181.3.152) by sausexedgep01.amd.com (163.181.36.54) with Microsoft SMTP Server (TLS) id 8.3.106.1; Tue, 6 Sep 2011 09:03:15 -0500 Received: from storexhtp02.amd.com (172.24.4.4) by sausexhtp02.amd.com (163.181.3.152) with Microsoft SMTP Server (TLS) id 8.3.83.0; Tue, 6 Sep 2011 09:02:18 -0500 Received: from gwo.osrc.amd.com (165.204.16.204) by storexhtp02.amd.com (172.24.4.4) with Microsoft SMTP Server id 8.3.83.0; Tue, 6 Sep 2011 10:02:18 -0400 Received: from lemmy.osrc.amd.com (lemmy.osrc.amd.com [165.204.15.93]) by gwo.osrc.amd.com (Postfix) with ESMTP id DA45E49C20C; Tue, 6 Sep 2011 15:02:16 +0100 (BST) Received: by lemmy.osrc.amd.com (Postfix, from userid 1000) id BF8F4FF91E; Tue, 6 Sep 2011 16:02:16 +0200 (CEST) From: Joerg Roedel To: Mauro Carvalho Chehab CC: Joerg Roedel , Laurent Pinchart , , , , Subject: [PATCH] arm: omap: Fix build error in ispccdc.c Date: Tue, 6 Sep 2011 16:02:15 +0200 Message-ID: <1315317735-5255-1-git-send-email-joerg.roedel@amd.com> X-Mailer: git-send-email 1.7.4.1 MIME-Version: 1.0 X-OriginatorOrg: amd.com Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 06 Sep 2011 14:02:51 +0000 (UTC) The following build error occurs with 3.1-rc5: CC drivers/media/video/omap3isp/ispccdc.o /home/data/repos/linux.trees.git/drivers/media/video/omap3isp/ispccdc.c: In function 'ccdc_lsc_config': /home/data/repos/linux.trees.git/drivers/media/video/omap3isp/ispccdc.c:427:2: error: implicit declaration of function 'kzalloc' [-Werror=implicit-function-declaration] /home/data/repos/linux.trees.git/drivers/media/video/omap3isp/ispccdc.c:427:6: warning: assignment makes pointer from integer without a cast [enabled by default] This patch adds the missing 'linux/slab.h' include to fix the problem. Cc: Laurent Pinchart Cc: linux-media@vger.kernel.org Cc: linux-omap@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Joerg Roedel Acked-by: Laurent Pinchart --- drivers/media/video/omap3isp/ispccdc.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/omap3isp/ispccdc.c b/drivers/media/video/omap3isp/ispccdc.c index 9d3459d..80796eb 100644 --- a/drivers/media/video/omap3isp/ispccdc.c +++ b/drivers/media/video/omap3isp/ispccdc.c @@ -31,6 +31,7 @@ #include #include #include +#include #include #include "isp.h"