From patchwork Thu Jul 23 22:50:13 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 37035 Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n6NMqgKk022020 for ; Thu, 23 Jul 2009 22:52:43 GMT Received: from dlep34.itg.ti.com ([157.170.170.115]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id n6NMoU71018975; Thu, 23 Jul 2009 17:50:35 -0500 Received: from linux.omap.com (localhost [127.0.0.1]) by dlep34.itg.ti.com (8.13.7/8.13.7) with ESMTP id n6NMoTNd017661; Thu, 23 Jul 2009 17:50:29 -0500 (CDT) Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id 7E7A980627; Thu, 23 Jul 2009 17:50:29 -0500 (CDT) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp53.itg.ti.com (dflp53.itg.ti.com [128.247.5.6]) by linux.omap.com (Postfix) with ESMTP id 2E51D80626 for ; Thu, 23 Jul 2009 17:50:26 -0500 (CDT) Received: from white.ext.ti.com (localhost [127.0.0.1]) by dflp53.itg.ti.com (8.13.8/8.13.8) with ESMTP id n6NMoPqw007928 for ; Thu, 23 Jul 2009 17:50:25 -0500 (CDT) Received: from mail106-sin-R.bigfish.com (mail-sin.bigfish.com [207.46.51.102]) by white.ext.ti.com (8.13.7/8.13.7) with ESMTP id n6NMoJRq018716 for ; Thu, 23 Jul 2009 17:50:25 -0500 Received: from mail106-sin (localhost.localdomain [127.0.0.1]) by mail106-sin-R.bigfish.com (Postfix) with ESMTP id 460AA30812E for ; Thu, 23 Jul 2009 22:50:20 +0000 (UTC) X-SpamScore: 1 X-BigFish: vps1(zzzz1202hzzz2dh1f9i61h) X-Spam-TCS-SCL: 0:0 X-MS-Exchange-Organization-Antispam-Report: OrigIP: 209.85.216.201; Service: EHS Received: by mail106-sin (MessageSwitch) id 1248389418705820_9737; Thu, 23 Jul 2009 22:50:18 +0000 (UCT) Received: from mail-px0-f201.google.com (mail-px0-f201.google.com [209.85.216.201]) by mail106-sin.bigfish.com (Postfix) with ESMTP id 4ED471C0046 for ; Thu, 23 Jul 2009 22:50:18 +0000 (UTC) Received: by pxi39 with SMTP id 39so820354pxi.4 for ; Thu, 23 Jul 2009 15:50:16 -0700 (PDT) Received: by 10.114.26.17 with SMTP id 17mr3174500waz.133.1248389416000; Thu, 23 Jul 2009 15:50:16 -0700 (PDT) Received: from localhost (deeprooted.net [216.254.16.51]) by mx.google.com with ESMTPS id k14sm4808009waf.25.2009.07.23.15.50.14 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 23 Jul 2009 15:50:15 -0700 (PDT) From: Kevin Hilman To: Mauro Carvalho Chehab , hverkuil@xs4all.nl Date: Thu, 23 Jul 2009 15:50:13 -0700 Message-Id: <1248389413-19366-1-git-send-email-khilman@deeprootsystems.com> X-Mailer: git-send-email 1.6.3.3 Cc: davinci-linux-open-source@linux.davincidsp.com, linux-media@vger.kernel.org Subject: [PATCH] V4L/DVB: dm646x: fix DMA_nnBIT_MASK X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.4 Precedence: list List-Id: davinci-linux-open-source.linux.davincidsp.com List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: davinci-linux-open-source-bounces@linux.davincidsp.com Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com Fix deprecated use of DMA_nnBIT_MASK which now gives a compiler warning. Signed-off-by: Kevin Hilman --- This compiler warning patch is on top of the master branch of Mauro's linux-next tree. arch/arm/mach-davinci/dm646x.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-davinci/dm646x.c b/arch/arm/mach-davinci/dm646x.c index 73a7e8b..8f38371 100644 --- a/arch/arm/mach-davinci/dm646x.c +++ b/arch/arm/mach-davinci/dm646x.c @@ -720,7 +720,7 @@ static struct platform_device vpif_display_dev = { .id = -1, .dev = { .dma_mask = &vpif_dma_mask, - .coherent_dma_mask = DMA_32BIT_MASK, + .coherent_dma_mask = DMA_BIT_MASK(32), }, .resource = vpif_resource, .num_resources = ARRAY_SIZE(vpif_resource),