aboutsummaryrefslogtreecommitdiff
path: root/drivers/macintosh/ams/Makefile
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2010-10-28 20:31:50 +0200
committerJean Delvare <khali@endymion.delvare>2010-10-28 20:31:50 +0200
commitbd5f47ec961594b1091839333600008f8166fd00 (patch)
treeaa4296edffd81e2976d20d3ea30ea18108b2a4de /drivers/macintosh/ams/Makefile
parent6dfee85397a47063291fe199eaf950bee7944454 (diff)
Move ams driver to macintosh
The ams driver isn't a hardware monitoring driver, so it shouldn't live under driver/hwmon. drivers/macintosh seems much more appropriate, as the driver is only useful on PowerBooks and iBooks. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: Guenter Roeck <guenter.roeck@ericsson.com> Cc: Stelian Pop <stelian@popies.net> Cc: Michael Hanselmann <linux-kernel@hansmi.ch> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/macintosh/ams/Makefile')
-rw-r--r--drivers/macintosh/ams/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/macintosh/ams/Makefile b/drivers/macintosh/ams/Makefile
new file mode 100644
index 000000000000..41c95b2089dc
--- /dev/null
+++ b/drivers/macintosh/ams/Makefile
@@ -0,0 +1,8 @@
+#
+# Makefile for Apple Motion Sensor driver
+#
+
+ams-y := ams-core.o ams-input.o
+ams-$(CONFIG_SENSORS_AMS_PMU) += ams-pmu.o
+ams-$(CONFIG_SENSORS_AMS_I2C) += ams-i2c.o
+obj-$(CONFIG_SENSORS_AMS) += ams.o