public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
* [PATCH] dell-laptop: depends on POWER_SUPPLY
@ 2009-02-10 17:25 Randy Dunlap
  0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2009-02-10 17:25 UTC (permalink / raw)
  To: lkml, akpm; +Cc: linux-next, Matthew Garrett

From: Randy Dunlap <randy.dunlap@oracle•com>

Build breaks when DELL_LAPTOP=y and POWER_SUPPLY=m. DELL_LAPTOP needs
to depend on POWER_SUPPLY.

dell-laptop.c:(.text+0x1ef3c4): undefined reference to `power_supply_is_system_supplied'
dell-laptop.c:(.text+0x1ef45e): undefined reference to `power_supply_is_system_supplied'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle•com>
cc: Matthew Garrett <mjg59@srcf•ucam.org>
---
 drivers/platform/x86/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-next-20090210.orig/drivers/platform/x86/Kconfig
+++ linux-next-20090210/drivers/platform/x86/Kconfig
@@ -62,6 +62,7 @@ config DELL_LAPTOP
 	depends on EXPERIMENTAL
 	depends on BACKLIGHT_CLASS_DEVICE
 	depends on RFKILL
+	depends on POWER_SUPPLY
 	default n
 	---help---
 	This driver adds support for rfkill and backlight control to Dell

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-02-10 17:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-10 17:25 [PATCH] dell-laptop: depends on POWER_SUPPLY Randy Dunlap

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