Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755098AbaJ2DEa (ORCPT ); Tue, 28 Oct 2014 23:04:30 -0400 Received: from ozlabs.org ([103.22.144.67]:34349 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752606AbaJ2DE2 (ORCPT ); Tue, 28 Oct 2014 23:04:28 -0400 Message-ID: <1414551853.7417.1.camel@concordia> Subject: Re: [PATCH] drivers: depend on instead of select BACKLIGHT_CLASS_DEVICE and ACPI_VIDEO From: Michael Ellerman To: Randy Dunlap Cc: Tomi Valkeinen , Jani Nikula , Jean-Christophe Plagniol-Villard , linux-fbdev@vger.kernel.org, Jingoo Han , Daniel Drake , Jens Frederich , David Airlie , Greg Kroah-Hartman , Jon Nettleton , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, platform-driver-x86@vger.kernel.org, Lee Jones , Laurent Pinchart , Darren Hart , Daniel Vetter , Bryan Wu , linuxppc-dev@lists.ozlabs.org Date: Wed, 29 Oct 2014 14:04:13 +1100 In-Reply-To: <544FFC91.9040104@infradead.org> References: <1413580403-16225-1-git-send-email-jani.nikula@intel.com> <54476492.6090105@ti.com> <87a94hu3j0.fsf@intel.com> <544E44E9.4040208@ti.com> <544FFC91.9040104@infradead.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2014-10-28 at 13:29 -0700, Randy Dunlap wrote: > On 10/27/14 06:13, Tomi Valkeinen wrote: > > I also think the 'depends on BACKLIGHT_CLASS_DEVICE || > > BACKLIGHT_CLASS_DEVICE=n' pattern is quite... interesting (i.e. sounds > > like a hack to me =). > > It does exactly what is needed and it is used in many places in kernel > Kconfig files. Is there any reason you can't do: depends on BACKLIGHT_CLASS_DEVICE != m cheers -- 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/