From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brian Norris Subject: Re: [PATCH 13/27] mtd: Allow compile test of GPIO consumers if !GPIOLIB Date: Wed, 20 May 2015 15:51:50 -0700 Message-ID: <20150520225150.GT11598@ld-irv-0074> References: <1430836404-15513-1-git-send-email-geert@linux-m68k.org> <1430843563-18615-1-git-send-email-geert@linux-m68k.org> <1430843563-18615-13-git-send-email-geert@linux-m68k.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-pa0-f52.google.com ([209.85.220.52]:36552 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754353AbbETWv6 (ORCPT ); Wed, 20 May 2015 18:51:58 -0400 Content-Disposition: inline In-Reply-To: <1430843563-18615-13-git-send-email-geert@linux-m68k.org> Sender: linux-gpio-owner@vger.kernel.org List-Id: linux-gpio@vger.kernel.org To: Geert Uytterhoeven Cc: Linus Walleij , Alexandre Courbot , Arnd Bergmann , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, David Woodhouse , linux-mtd@lists.infradead.org On Tue, May 05, 2015 at 06:32:29PM +0200, Geert Uytterhoeven wrote: > The GPIO subsystem provides dummy GPIO consumer functions if GPIOLIB is > not enabled. Hence drivers that depend on GPIOLIB, but use GPIO consumer > functionality only, can still be compiled if GPIOLIB is not enabled. > > Relax the dependency on GPIOLIB if COMPILE_TEST is enabled, where > appropriate. > > Signed-off-by: Geert Uytterhoeven > Cc: David Woodhouse > Cc: Brian Norris > Cc: linux-mtd@lists.infradead.org Pushed to l2-mtd.git. Brian From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pa0-x229.google.com ([2607:f8b0:400e:c03::229]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YvCqZ-0008Lg-1S for linux-mtd@lists.infradead.org; Wed, 20 May 2015 22:52:19 +0000 Received: by pabts4 with SMTP id ts4so82791852pab.3 for ; Wed, 20 May 2015 15:51:58 -0700 (PDT) Date: Wed, 20 May 2015 15:51:50 -0700 From: Brian Norris To: Geert Uytterhoeven Subject: Re: [PATCH 13/27] mtd: Allow compile test of GPIO consumers if !GPIOLIB Message-ID: <20150520225150.GT11598@ld-irv-0074> References: <1430836404-15513-1-git-send-email-geert@linux-m68k.org> <1430843563-18615-1-git-send-email-geert@linux-m68k.org> <1430843563-18615-13-git-send-email-geert@linux-m68k.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1430843563-18615-13-git-send-email-geert@linux-m68k.org> Cc: Alexandre Courbot , Arnd Bergmann , Linus Walleij , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-mtd@lists.infradead.org, David Woodhouse List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, May 05, 2015 at 06:32:29PM +0200, Geert Uytterhoeven wrote: > The GPIO subsystem provides dummy GPIO consumer functions if GPIOLIB is > not enabled. Hence drivers that depend on GPIOLIB, but use GPIO consumer > functionality only, can still be compiled if GPIOLIB is not enabled. > > Relax the dependency on GPIOLIB if COMPILE_TEST is enabled, where > appropriate. > > Signed-off-by: Geert Uytterhoeven > Cc: David Woodhouse > Cc: Brian Norris > Cc: linux-mtd@lists.infradead.org Pushed to l2-mtd.git. Brian