Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752846Ab0LWAOF (ORCPT ); Wed, 22 Dec 2010 19:14:05 -0500 Received: from moutng.kundenserver.de ([212.227.17.9]:50869 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751541Ab0LWAOD convert rfc822-to-8bit (ORCPT ); Wed, 22 Dec 2010 19:14:03 -0500 Date: Thu, 23 Dec 2010 01:13:59 +0100 (CET) From: Guennadi Liakhovetski X-X-Sender: lyakh@axis700.grange To: Dan Williams cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] dmaengine: provide dummy functions for DMA_ENGINE=n In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Provags-ID: V02:K0:poSqZAW7dG19KPbjns8Aqzsr8cQzr21GEBscPGNhnnL OJYnMkM6Qmo/DZDfRIkffFYaNyCD2eKhlsxvIBCXscMv9uUQIl b/v23RnAC76DqDyJChl7tQdRsdVEGkyJlNNYnPXoiUwaCSzQa+ Z7sf4CD+WYdfae9/GLRpXygm3sareIkp9H2rvKN69cVxYNyXuJ 2urBuCvOU6Y8CGvrfrnuDz6neZoVPLnNsSTKjKsMBY= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1241 Lines: 32 On Wed, 22 Dec 2010, Dan Williams wrote: > On Wed, Dec 22, 2010 at 5:46 AM, Guennadi Liakhovetski > wrote: > > This lets drivers, optionally using the dmaengine, build with DMA_ENGINE > > unselected. > > > > Signed-off-by: Guennadi Liakhovetski > > --- > > ?include/linux/dmaengine.h | ? 13 ++++++++++--- > > ?1 files changed, 10 insertions(+), 3 deletions(-) > > Is this fixing build errors, or is this just relieving drivers from > needing to surround calls to dma_{request|release}_channel() with > ifdef CONFIG_DMA_ENGINE? The former makes this more urgent, the > latter can wait for the next merge window. sh_mmcif.c doesn't compile, if configured for DMA, but DMA_ENGINE is unselected. So, yes, this wants to be fixed. But there's more than one way to fix it. I've chosen this one, as it seems more generic to me. Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/