From patchwork Wed Aug 3 18:10:09 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 9261801 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 620A26048B for ; Wed, 3 Aug 2016 18:31:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5791B28236 for ; Wed, 3 Aug 2016 18:31:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4C06728307; Wed, 3 Aug 2016 18:31:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C961328236 for ; Wed, 3 Aug 2016 18:31:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756395AbcHCSaa (ORCPT ); Wed, 3 Aug 2016 14:30:30 -0400 Received: from leibniz.telenet-ops.be ([195.130.137.77]:58891 "EHLO leibniz.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752912AbcHCSaU (ORCPT ); Wed, 3 Aug 2016 14:30:20 -0400 X-Greylist: delayed 648 seconds by postgrey-1.27 at vger.kernel.org; Wed, 03 Aug 2016 14:30:19 EDT Received: from xavier.telenet-ops.be (xavier.telenet-ops.be [IPv6:2a02:1800:120:4::f00:14]) by leibniz.telenet-ops.be (Postfix) with ESMTP id 3s4Lkl0K4nzMrMQ4 for ; Wed, 3 Aug 2016 20:12:15 +0200 (CEST) Received: from ayla.of.borg ([84.193.137.253]) by xavier.telenet-ops.be with bizsmtp id SiAD1t0055UCtCs01iADbe; Wed, 03 Aug 2016 20:10:14 +0200 Received: from ramsan.of.borg ([192.168.97.29] helo=ramsan) by ayla.of.borg with esmtp (Exim 4.82) (envelope-from ) id 1bV0cP-0007Z0-2f; Wed, 03 Aug 2016 20:10:13 +0200 Received: from geert by ramsan with local (Exim 4.82) (envelope-from ) id 1bV0cP-000887-1Y; Wed, 03 Aug 2016 20:10:13 +0200 From: Geert Uytterhoeven To: Andrew-CT Chen , Tiffany Lin , Hans Verkuil , Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 2/2] [media] VIDEO_MEDIATEK_VPU should depend on HAS_DMA Date: Wed, 3 Aug 2016 20:10:09 +0200 Message-Id: <1470247809-31212-2-git-send-email-geert@linux-m68k.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1470247809-31212-1-git-send-email-geert@linux-m68k.org> References: <1470247809-31212-1-git-send-email-geert@linux-m68k.org> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP If NO_DMA=y: ERROR: "bad_dma_ops" [drivers/media/platform/mtk-vpu/mtk-vpu.ko] undefined! Add a dependency on HAS_DMA to fix this. Signed-off-by: Geert Uytterhoeven --- drivers/media/platform/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig index 552b635cfce7f02b..a6ed2e077ad0f2d2 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -155,7 +155,7 @@ config VIDEO_CODA config VIDEO_MEDIATEK_VPU tristate "Mediatek Video Processor Unit" - depends on VIDEO_DEV && VIDEO_V4L2 + depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA depends on ARCH_MEDIATEK || COMPILE_TEST ---help--- This driver provides downloading VPU firmware and