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: 37034 X-Patchwork-Delegate: mchehab@redhat.com Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n6NMoKwQ021744 for ; Thu, 23 Jul 2009 22:50:20 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753105AbZGWWuR (ORCPT ); Thu, 23 Jul 2009 18:50:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753644AbZGWWuR (ORCPT ); Thu, 23 Jul 2009 18:50:17 -0400 Received: from mail-px0-f184.google.com ([209.85.216.184]:37799 "EHLO mail-px0-f184.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753105AbZGWWuQ (ORCPT ); Thu, 23 Jul 2009 18:50:16 -0400 Received: by pxi14 with SMTP id 14so50867pxi.33 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 Cc: linux-media@vger.kernel.org, davinci-linux-open-source@linux.davincidsp.com Subject: [PATCH] V4L/DVB: dm646x: fix DMA_nnBIT_MASK 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 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org 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),