Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753286AbbELKXN (ORCPT ); Tue, 12 May 2015 06:23:13 -0400 Received: from mail-ob0-f176.google.com ([209.85.214.176]:36651 "EHLO mail-ob0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753033AbbELKXK (ORCPT ); Tue, 12 May 2015 06:23:10 -0400 MIME-Version: 1.0 In-Reply-To: <1430986090-7243-4-git-send-email-geert@linux-m68k.org> References: <1430986090-7243-1-git-send-email-geert@linux-m68k.org> <1430986090-7243-4-git-send-email-geert@linux-m68k.org> Date: Tue, 12 May 2015 12:23:09 +0200 Message-ID: Subject: Re: [PATCH 3/3] leds: leds-gpio: Allow compile test if !GPIOLIB From: Linus Walleij To: Geert Uytterhoeven Cc: Alexandre Courbot , Bryan Wu , Richard Purdie , Arnd Bergmann , Jacek Anaszewski , "linux-gpio@vger.kernel.org" , "linux-leds@vger.kernel.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 762 Lines: 21 On Thu, May 7, 2015 at 10:08 AM, 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 of LEDS_GPIO on GPIOLIB if COMPILE_TEST is > enabled. > > Signed-off-by: Geert Uytterhoeven Acked-by: Linus Walleij Yours, Linus Walleij -- 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/