Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5ca56718 authored by Randy Dunlap's avatar Randy Dunlap Committed by Matthew Garrett
Browse files

compal-laptop: depends on POWER_SUPPLY



compal-laptop uses power_supply interfaces so it should depend
on POWER_SUPPLY.

ERROR: "power_supply_register" [drivers/platform/x86/compal-laptop.ko] undefined!
ERROR: "power_supply_unregister" [drivers/platform/x86/compal-laptop.ko] undefined!

Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Cc:	Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Cc:	Matthew Garrett <mjg@redhat.com>
Cc:	platform-driver-x86@vger.kernel.org
Signed-off-by: default avatarMatthew Garrett <mjg@redhat.com>
parent 89507787
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -183,6 +183,7 @@ config COMPAL_LAPTOP
	depends on BACKLIGHT_CLASS_DEVICE
	depends on BACKLIGHT_CLASS_DEVICE
	depends on RFKILL
	depends on RFKILL
	depends on HWMON
	depends on HWMON
	depends on POWER_SUPPLY
	---help---
	---help---
	  This is a driver for laptops built by Compal:
	  This is a driver for laptops built by Compal: