Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754009Ab2HBQgX (ORCPT ); Thu, 2 Aug 2012 12:36:23 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:38500 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751349Ab2HBQgW (ORCPT ); Thu, 2 Aug 2012 12:36:22 -0400 Date: Thu, 2 Aug 2012 11:36:16 -0500 From: Seth Forshee To: Randy Dunlap , Stephen Rothwell , linux-next@vger.kernel.org, LKML , Matthew Garrett , platform-driver-x86@vger.kernel.org Subject: Re: linux-next: Tree for Aug 2 (drivers/platform/x86/apple-gmux.c) Message-ID: <20120802163616.GI32395@thinkpad-t410> Mail-Followup-To: Randy Dunlap , Stephen Rothwell , linux-next@vger.kernel.org, LKML , Matthew Garrett , platform-driver-x86@vger.kernel.org References: <20120802141505.d30da7f7113e955679383acb@canb.auug.org.au> <501AA5A8.1070607@xenotime.net> <20120802161504.GG32395@thinkpad-t410> <501AA892.70207@xenotime.net> <20120802163154.GH32395@thinkpad-t410> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120802163154.GH32395@thinkpad-t410> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2111 Lines: 57 On Thu, Aug 02, 2012 at 11:31:54AM -0500, Seth Forshee wrote: > On Thu, Aug 02, 2012 at 09:19:30AM -0700, Randy Dunlap wrote: > > On 08/02/2012 09:15 AM, Seth Forshee wrote: > > > > > On Thu, Aug 02, 2012 at 09:07:04AM -0700, Randy Dunlap wrote: > > >> On 08/01/2012 09:15 PM, Stephen Rothwell wrote: > > >> > > >>> Hi all, > > >>> > > >>> Please do not add anything to linux-next included branches/series that is > > >>> destined for v3.7 until after v3.6-rc1 is released. > > >>> > > >>> Reminder: do not rebase your branches before asking Linus to pull them ... > > >>> > > >>> Changes since 20120731: > > >>> > > >> > > >> > > >> when CONFIG_ACPI is not enabled: (on i386) > > >> > > >> drivers/platform/x86/apple-gmux.c: In function 'gmux_probe': > > >> drivers/platform/x86/apple-gmux.c:196:2: error: implicit declaration of function 'acpi_video_dmi_promote_vendor' > > >> drivers/platform/x86/apple-gmux.c: In function 'gmux_remove': > > >> drivers/platform/x86/apple-gmux.c:219:2: error: implicit declaration of function 'acpi_video_dmi_demote_vendor' > > >> > > >> > > >> Full randconfig file is attached. > > > > > > I sent Matthew a patch that should fix this [1], but he doesn't seem to > > > have picked it up yet. > > > > > > Seth > > > > > > [1] https://lkml.org/lkml/2012/7/2/257 > > > > > > > > > That patch does not fix this build error. > > There is still an implicit assumption in Kconfig and > > the driver source that ACPI is enabled. > > The functions in question are built or not based off of ACPI_VIDEO, > which in turn depends on ACPI. So if ACPI=n, then ACPI_VIDEO=n and you > can't configure APPLE_GMUX=(m|y). Is that right, or am I missing > something? Nevermind, I see what I missed. This is kind of messy -- maybe those declartions should be extracted from the #ifdef CONFIG_ACPI to avoid this kind of Kconfig madness? Seth -- 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/