Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753176AbbELKUW (ORCPT ); Tue, 12 May 2015 06:20:22 -0400 Received: from mail-oi0-f54.google.com ([209.85.218.54]:35968 "EHLO mail-oi0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753019AbbELKUR (ORCPT ); Tue, 12 May 2015 06:20:17 -0400 MIME-Version: 1.0 In-Reply-To: <1430836404-15513-1-git-send-email-geert@linux-m68k.org> References: <1430836404-15513-1-git-send-email-geert@linux-m68k.org> Date: Tue, 12 May 2015 12:20:15 +0200 Message-ID: Subject: Re: [PATCH 00/27] gpio: Allow compile test of GPIO consumers if !GPIOLIB From: Linus Walleij To: Geert Uytterhoeven Cc: Alexandre Courbot , Arnd Bergmann , "linux-gpio@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: 1505 Lines: 35 On Tue, May 5, 2015 at 4:33 PM, Geert Uytterhoeven wrote: > Hi all, > > 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 relaxes the dependencies on GPIOLIB if COMPILE_TEST is > enabled, where appropriate: > - Patches 1-2 add missing dependencies on GPIOLIB || COMPILE_TEST, > - Patches 3-27 relax existing dependencies on GPIOLIB. > In some cases (patches 1,2, and 4), this required adding a missing > include (), as this may not be included if > asm-generic/gpio.h is not used. > > There are a few more drivers that depend on GPIOLIB and that may be > eligible for COMPILE_TEST. These I didn't handle yet, as I couldn't > enable them with m68k/all{mod,yes}config due to other dependencies. > > This series is against v4.1-rc2 and next-20150505 with the exception of > patch 21, which has an additional dependency (mentioned in the patch > itself, incl. resolution instructions if the dependency isn't > satisified). FWIW: the series: 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/