From: Randy Dunlap Subject: [PATCH] gpu/stub: fix acpi_video build error, fix stub kconfig dependencies Date: Tue, 1 Feb 2011 11:17:28 -0800 Message-ID: <20110201111728.cb786487.randy.dunlap@oracle.com> References: <20101220200013.df8fbc88.sfr@canb.auug.org.au> <20101220085340.7ba098b9.randy.dunlap@oracle.com> <20110126114203.GA16754@elte.hu> <20110201120323.GA6714@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20110201120323.GA6714@elte.hu> Sender: linux-acpi-owner@vger.kernel.org To: Ingo Molnar Cc: Len Brown , Stephen Rothwell , Luming Yu , linux-next@vger.kernel.org, LKML , linux-acpi@vger.kernel.org, Linus Torvalds , Andrew Morton , "Rafael J. Wysocki" List-Id: linux-next.vger.kernel.org From: Randy Dunlap The comments under "config STUB_POULSBO" are close to correct, but they are not being followed. This patch updates them to reflect the requirements for THERMAL. This build error is caused by STUB_POULSBO selecting ACPI_VIDEO when ACPI_VIDEO's config requirements are not met. ERROR: "thermal_cooling_device_register" [drivers/acpi/video.ko] undefined! ERROR: "thermal_cooling_device_unregister" [drivers/acpi/video.ko] undefined! Signed-off-by: Randy Dunlap --- drivers/gpu/stub/Kconfig | 2 ++ 1 file changed, 2 insertions(+) --- lnx-2638-rc3.orig/drivers/gpu/stub/Kconfig +++ lnx-2638-rc3/drivers/gpu/stub/Kconfig @@ -1,11 +1,13 @@ config STUB_POULSBO tristate "Intel GMA500 Stub Driver" depends on PCI + depends on NET # for THERMAL # Poulsbo stub depends on ACPI_VIDEO when ACPI is enabled # but for select to work, need to select ACPI_VIDEO's dependencies, ick select BACKLIGHT_CLASS_DEVICE if ACPI select INPUT if ACPI select ACPI_VIDEO if ACPI + select THERMAL if ACPI help Choose this option if you have a system that has Intel GMA500 (Poulsbo) integrated graphics. If M is selected, the module will