From patchwork Fri Sep 19 11:32:30 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 4937161 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 7FE4DBEEA5 for ; Fri, 19 Sep 2014 11:33:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3BDA3201ED for ; Fri, 19 Sep 2014 11:32:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E5E992010E for ; Fri, 19 Sep 2014 11:32:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753558AbaISLc4 (ORCPT ); Fri, 19 Sep 2014 07:32:56 -0400 Received: from mail-yh0-f52.google.com ([209.85.213.52]:46716 "EHLO mail-yh0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750924AbaISLcz (ORCPT ); Fri, 19 Sep 2014 07:32:55 -0400 Received: by mail-yh0-f52.google.com with SMTP id i57so480672yha.11 for ; Fri, 19 Sep 2014 04:32:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=CZWBBhmrnptR05VZ7cUdszKI/GqDIOrxy3oPCrydLHU=; b=A7G2Yv3CL/MdInI4x+y35eXL3tjfeJzXp4H+tFql/JClR92D38GKChZ5ux60LLbbDD 6AD433yK5GNmHULx03udMkFHTUdcrZYTMZsurT0kdX7bYXh5TtZIG9a67z89WnJ3MTQx DfvRsljqoKpsinecVjUBsiTqVCjwBB20oqyfVqCbRjHuEkMAxFLWldWw1d3zQcd3aQZD hazAA8MYr1Uqm5OVpCN++gKzijPLR13XwwjEy9Ar/MrD/aUYZh/EtP2hPaQfSZfecQTw PZnOi4dJqfl0G1rmhRt3zo8YX75sziIEE1HTHAVkM1Y01auGi1D+t3EVzBM6igxiHoBu E0+g== X-Received: by 10.236.127.77 with SMTP id c53mr12856756yhi.40.1411126374758; Fri, 19 Sep 2014 04:32:54 -0700 (PDT) Received: from localhost.localdomain ([201.82.52.106]) by mx.google.com with ESMTPSA id k28sm699123yho.23.2014.09.19.04.32.52 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 19 Sep 2014 04:32:53 -0700 (PDT) From: Fabio Estevam To: m.chehab@samsung.com Cc: k.debski@samsung.com, p.zabel@pengutronix.de, linux-media@vger.kernel.org, Fabio Estevam Subject: [PATCH] [media] coda: coda-bit: Include "" Date: Fri, 19 Sep 2014 08:32:30 -0300 Message-Id: <1411126350-5936-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Fabio Estevam coda-bit uses kmalloc/kfree functions, so the slab header needs to be included in order to fix the following build errors: drivers/media/platform/coda/coda-bit.c: In function 'coda_fill_bitstream': drivers/media/platform/coda/coda-bit.c:231:4: error: implicit declaration of function 'kmalloc' [-Werror=implicit-function-declaration] drivers/media/platform/coda/coda-bit.c: In function 'coda_alloc_framebuffers': drivers/media/platform/coda/coda-bit.c:312:3: error: implicit declaration of function 'kfree' [-Werror=implicit-function-declaration] Signed-off-by: Fabio Estevam Acked-by: Philipp Zabel --- drivers/media/platform/coda/coda-bit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/coda/coda-bit.c b/drivers/media/platform/coda/coda-bit.c index 07fc91a..9b8ea8b 100644 --- a/drivers/media/platform/coda/coda-bit.c +++ b/drivers/media/platform/coda/coda-bit.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include