From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Dunlap Subject: [PATCH resend] platform/x86: fix asus-wmi build error Date: Tue, 22 Oct 2013 15:31:17 -0700 Message-ID: <5266FCB5.8080904@infradead.org> References: <523749AB.7010805@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <523749AB.7010805@infradead.org> Sender: linux-kernel-owner@vger.kernel.org To: LKML , Andrew Morton , Linus Torvalds Cc: Corentin Chary , acpi4asus-user@lists.sourceforge.net, Platform Driver , Matthew Garrett List-Id: platform-driver-x86.vger.kernel.org From: Randy Dunlap Fix build error in asus_wmi.c when ASUS_WMI=y and ACPI_VIDEO=m by preventing that combination. drivers/built-in.o: In function `asus_wmi_probe': asus-wmi.c:(.text+0x65ddb4): undefined reference to `acpi_video_unregister' Signed-off-by: Randy Dunlap --- Found in linux-next but applies to mainline. drivers/platform/x86/Kconfig | 1 + 1 file changed, 1 insertion(+) --- linux-next-20130916.orig/drivers/platform/x86/Kconfig +++ linux-next-20130916/drivers/platform/x86/Kconfig @@ -504,6 +504,7 @@ config ASUS_WMI depends on BACKLIGHT_CLASS_DEVICE depends on RFKILL || RFKILL = n depends on HOTPLUG_PCI + depends on ACPI_VIDEO || ACPI_VIDEO = n select INPUT_SPARSEKMAP select LEDS_CLASS select NEW_LEDS