From: Maurus Cuelenaere Date: Thu, 28 Oct 2010 18:31:44 +0000 (+0200) Subject: hwmon: (s3c-hwmon) Depend on S3C_ADC X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=62991f7ab395b57b86512d47a6017266e2e615f2;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git hwmon: (s3c-hwmon) Depend on S3C_ADC This way we don't need to modify Kconfig every time a new SoC comes along to make this driver support it. Also fix some typos while I'm at it. Signed-off-by: Maurus Cuelenaere Reviewed-by: Guenter Roeck Signed-off-by: Jean Delvare --- diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index 3e88140b9d77..d875d102ee3f 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig @@ -763,14 +763,14 @@ config SENSORS_SHT15 will be called sht15. config SENSORS_S3C - tristate "S3C24XX/S3C64XX Inbuilt ADC" - depends on ARCH_S3C2410 + tristate "Samsung built-in ADC" + depends on S3C_ADC help If you say yes here you get support for the on-board ADCs of - the Samsung S3C24XX or S3C64XX series of SoC + the Samsung S3C24XX, S3C64XX and other series of SoC This driver can also be built as a module. If so, the module - will be called s3c-hwmo. + will be called s3c-hwmon. config SENSORS_S3C_RAW bool "Include raw channel attributes in sysfs"