Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751423AbbEGIIb (ORCPT ); Thu, 7 May 2015 04:08:31 -0400 Received: from laurent.telenet-ops.be ([195.130.137.89]:33977 "EHLO laurent.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750868AbbEGIIQ (ORCPT ); Thu, 7 May 2015 04:08:16 -0400 From: Geert Uytterhoeven To: Linus Walleij , Alexandre Courbot , Bryan Wu , Richard Purdie , Arnd Bergmann Cc: Jacek Anaszewski , linux-gpio@vger.kernel.org, linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 0/3] leds: leds-gpio: Allow compile test if !GPIOLIB Date: Thu, 7 May 2015 10:08:07 +0200 Message-Id: <1430986090-7243-1-git-send-email-geert@linux-m68k.org> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1761 Lines: 48 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. This patch series allows compile testing of the leds-gpio driver if GPIOLIB is not enabled. This requires adding a missing dummy to gpiolib, and a missing include to leds-gpio. This series follows the work started in the series "[PATCH 00/27] gpio: Allow compile test of GPIO consumers if !GPIOLIB" (https://lkml.org/lkml/2015/5/5/779), but can be applied independently. The third patch depends on the first two patches, but it could be folded into "[PATCH 09/27] leds: Allow compile test of GPIO consumers if !GPIOLIB" of the series mentioned above, once its dependencies are satisfied. Thanks! Geert Uytterhoeven (3): gpiolib: Add missing dummies for the unified device properties interface leds: leds-gpio: Add missing #include leds: leds-gpio: Allow compile test if !GPIOLIB drivers/leds/Kconfig | 2 +- drivers/leds/leds-gpio.c | 1 + include/linux/gpio/consumer.h | 15 +++++++++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) -- 1.9.1 Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- 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/