Browse Source

[ARM] pxa/sharpsl: add dependency of max1111 driver to sharpsl_pm

sharpsl_pm.c actually depends on max1111 driver being built-in when
not using legacy ssp code.

Reported-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Eric Miao 15 years ago
parent
commit
6533be390b
1 changed files with 7 additions and 0 deletions
  1. 7 0
      arch/arm/mach-pxa/Kconfig

+ 7 - 0
arch/arm/mach-pxa/Kconfig

@@ -453,6 +453,13 @@ config PXA_SHARPSL
 config SHARPSL_PM
 	bool
 	select APM_EMULATION
+	select SHARPSL_PM_MAX1111
+
+config SHARPSL_PM_MAX1111
+	bool
+	depends on !CORGI_SSP_DEPRECATED
+	select HWMON
+	select SENSORS_MAX1111
 
 config CORGI_SSP_DEPRECATED
 	bool