From patchwork Sat Apr 27 05:06:38 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shiyan X-Patchwork-Id: 2496581 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork2.kernel.org (Postfix) with ESMTP id 6547EDF23A for ; Sat, 27 Apr 2013 05:07:02 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UVxLZ-0004L0-Li; Sat, 27 Apr 2013 05:06:53 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UVxLW-0001S0-Ld; Sat, 27 Apr 2013 05:06:50 +0000 Received: from smtp8.mail.ru ([94.100.176.53]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UVxLT-0001Ri-5d for linux-arm-kernel@lists.infradead.org; Sat, 27 Apr 2013 05:06:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Message-Id:Date:Subject:Cc:To:From; bh=eB1ZztqFQeU/LrHQY+FN9XueO5QMz8N1jNXXcadse0c=; b=cTayqfZpAdbXl0/LQok3TfTBYQqIwpYSFx8ZfWQxEi/bhM5yNeAh44GFVmiQVA+lHT5d0OcZogUKRLW10yUY0iO3VHUr6/a4VIcQkeekXSUYxVgjBKtF+PX/k5ODluyOmqeb/kQNmLtX0uohBC/Bs1TV2kmqiq1pT9hS9xME7Kw=; Received: from [188.134.40.128] (port=26726 helo=shc.zet) by smtp8.mail.ru with esmtpa (envelope-from ) id 1UVxLP-0001X0-AF; Sat, 27 Apr 2013 09:06:43 +0400 From: Alexander Shiyan To: linux-media@vger.kernel.org Subject: [PATCH] media: coda: Fix compile breakage Date: Sat, 27 Apr 2013 09:06:38 +0400 Message-Id: <1367039198-28639-1-git-send-email-shc_work@mail.ru> X-Mailer: git-send-email 1.8.1.5 X-Spam: Not detected X-Mras: Ok X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130427_010647_734878_86B768FA X-CRM114-Status: UNSURE ( 7.65 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (shc_work[at]mail.ru) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [94.100.176.53 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Olof Johansson , Alexander Shiyan , Arnd Bergmann , Mauro Carvalho Chehab , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Patch adds GENERIC_ALLOCATOR, if "coda" is selected. drivers/built-in.o: In function `coda_remove': :(.text+0x110634): undefined reference to `gen_pool_free' drivers/built-in.o: In function `coda_probe': :(.text+0x1107d4): undefined reference to `of_get_named_gen_pool' :(.text+0x1108b8): undefined reference to `gen_pool_alloc' :(.text+0x1108d0): undefined reference to `gen_pool_virt_to_phys' :(.text+0x110918): undefined reference to `dev_get_gen_pool' Signed-off-by: Alexander Shiyan Acked-by: Arnd Bergmann --- drivers/media/platform/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig index 0cbe1ff..414a769 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -145,6 +145,7 @@ config VIDEO_CODA depends on VIDEO_DEV && VIDEO_V4L2 && ARCH_MXC select VIDEOBUF2_DMA_CONTIG select V4L2_MEM2MEM_DEV + select GENERIC_ALLOCATOR ---help--- Coda is a range of video codec IPs that supports H.264, MPEG-4, and other video formats.