All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] apple-gmux: Fix kconfig dependencies
@ 2012-07-02 14:55 Seth Forshee
  2012-07-16 23:50 ` Seth Forshee
  2012-08-02 17:15 ` Seth Forshee
  0 siblings, 2 replies; 8+ messages in thread
From: Seth Forshee @ 2012-07-02 14:55 UTC (permalink / raw)
  To: Matthew Garrett, platform-driver-x86
  Cc: Arun Raghavan, linux-kernel, Seth Forshee

Fix the dependencies of apple-gmux to prevent it from being built-in
when one or more of its dependencies is built as a module. Otherwise it
can fail to build due to missing symbols.

Reported-by: Arun Raghavan <arun.raghavan@collabora.co.uk>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
---
 drivers/platform/x86/Kconfig |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
index 2a262f5..cf65f0a 100644
--- a/drivers/platform/x86/Kconfig
+++ b/drivers/platform/x86/Kconfig
@@ -759,7 +759,9 @@ config SAMSUNG_Q10
 config APPLE_GMUX
 	tristate "Apple Gmux Driver"
 	depends on PNP
-	select BACKLIGHT_CLASS_DEVICE
+	depends on BACKLIGHT_CLASS_DEVICE
+	depends on BACKLIGHT_APPLE=n || BACKLIGHT_APPLE
+	depends on ACPI_VIDEO=n || ACPI_VIDEO
 	---help---
 	  This driver provides support for the gmux device found on many
 	  Apple laptops, which controls the display mux for the hybrid
-- 
1.7.9.5


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

end of thread, other threads:[~2012-08-02 20:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-02 14:55 [PATCH] apple-gmux: Fix kconfig dependencies Seth Forshee
2012-07-16 23:50 ` Seth Forshee
2012-07-23 13:30   ` Matthew Garrett
2012-07-23 13:44     ` Seth Forshee
2012-07-23 15:28       ` Randy Dunlap
2012-07-23 16:08         ` Seth Forshee
2012-08-02 17:15 ` Seth Forshee
2012-08-02 20:19   ` Randy Dunlap

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.