X86 platform drivers
 help / color / mirror / Atom feed
* [PATCH] platform/x86: fix asus-wmi build error
       [not found] <20130916131310.d526decb36e4a57d736a0cea@canb.auug.org.au>
@ 2013-09-16 18:10 ` Randy Dunlap
  2013-10-22 22:31   ` [PATCH resend] " Randy Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2013-09-16 18:10 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: linux-next, linux-kernel, Corentin Chary, acpi4asus-user,
	Platform Driver, Matthew Garrett

From: Randy Dunlap <rdunlap@infradead.org>

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 <rdunlap@infradead.org>
---
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH resend] platform/x86: fix asus-wmi build error
  2013-09-16 18:10 ` [PATCH] platform/x86: fix asus-wmi build error Randy Dunlap
@ 2013-10-22 22:31   ` Randy Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2013-10-22 22:31 UTC (permalink / raw)
  To: LKML, Andrew Morton, Linus Torvalds
  Cc: Corentin Chary, acpi4asus-user, Platform Driver, Matthew Garrett


From: Randy Dunlap <rdunlap@infradead.org>

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 <rdunlap@infradead.org>
---
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-22 22:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20130916131310.d526decb36e4a57d736a0cea@canb.auug.org.au>
2013-09-16 18:10 ` [PATCH] platform/x86: fix asus-wmi build error Randy Dunlap
2013-10-22 22:31   ` [PATCH resend] " Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox