aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/Makefile
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2011-03-21 12:59:35 -0400
committerJean Delvare <khali@endymion.delvare>2011-03-21 12:59:35 -0400
commit39c3e721d65793373e7bc6f5dad0591ef6d09268 (patch)
treefd88c93eebeebbbfa75b04769d7c8734c93222df /drivers/hwmon/Makefile
parentccd32e735de7a941906e093f8dca924bb05c5794 (diff)
Let Kconfig handle lis3lv02d dependencies
The dependencies between the various lis3lv02d drivers make it impossible to split them to different directories, while we really want to do this. Move handling of dependencies from Makefile to Kconfig, to make the move possible at all. Signed-off-by: Jean Delvare <khali@linux-fr.org> Acked-by: Guenter Roeck <guenter.roeck@ericsson.com> Acked-by: Eric Piel <eric.piel@tremplin-utc.net> Acked-by: Jonathan Cameron <jic23@cam.ac.uk> Tested-by: Eric Piel <eric.piel@tremplin-utc.net> Tested-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'drivers/hwmon/Makefile')
-rw-r--r--drivers/hwmon/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/hwmon/Makefile b/drivers/hwmon/Makefile
index 8a238dec5691..94bf27482979 100644
--- a/drivers/hwmon/Makefile
+++ b/drivers/hwmon/Makefile
@@ -5,8 +5,12 @@
5obj-$(CONFIG_HWMON) += hwmon.o 5obj-$(CONFIG_HWMON) += hwmon.o
6obj-$(CONFIG_HWMON_VID) += hwmon-vid.o 6obj-$(CONFIG_HWMON_VID) += hwmon-vid.o
7 7
8# Helper drivers
9obj-$(CONFIG_SENSORS_LIS3LV02D) += lis3lv02d.o
10
8# APCI drivers 11# APCI drivers
9obj-$(CONFIG_SENSORS_ATK0110) += asus_atk0110.o 12obj-$(CONFIG_SENSORS_ATK0110) += asus_atk0110.o
13obj-$(CONFIG_HP_ACCEL) += hp_accel.o
10 14
11# Native drivers 15# Native drivers
12# asb100, then w83781d go first, as they can override other drivers' addresses. 16# asb100, then w83781d go first, as they can override other drivers' addresses.
@@ -63,9 +67,8 @@ obj-$(CONFIG_SENSORS_JZ4740) += jz4740-hwmon.o
63obj-$(CONFIG_SENSORS_K8TEMP) += k8temp.o 67obj-$(CONFIG_SENSORS_K8TEMP) += k8temp.o
64obj-$(CONFIG_SENSORS_K10TEMP) += k10temp.o 68obj-$(CONFIG_SENSORS_K10TEMP) += k10temp.o
65obj-$(CONFIG_SENSORS_LINEAGE) += lineage-pem.o 69obj-$(CONFIG_SENSORS_LINEAGE) += lineage-pem.o
66obj-$(CONFIG_SENSORS_LIS3LV02D) += lis3lv02d.o hp_accel.o 70obj-$(CONFIG_SENSORS_LIS3_SPI) += lis3lv02d_spi.o
67obj-$(CONFIG_SENSORS_LIS3_SPI) += lis3lv02d.o lis3lv02d_spi.o 71obj-$(CONFIG_SENSORS_LIS3_I2C) += lis3lv02d_i2c.o
68obj-$(CONFIG_SENSORS_LIS3_I2C) += lis3lv02d.o lis3lv02d_i2c.o
69obj-$(CONFIG_SENSORS_LM63) += lm63.o 72obj-$(CONFIG_SENSORS_LM63) += lm63.o
70obj-$(CONFIG_SENSORS_LM70) += lm70.o 73obj-$(CONFIG_SENSORS_LM70) += lm70.o
71obj-$(CONFIG_SENSORS_LM73) += lm73.o 74obj-$(CONFIG_SENSORS_LM73) += lm73.o