summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/Makefile
diff options
context:
space:
mode:
authorMika Westerberg2012-11-23 12:23:40 +0100
committerRafael J. Wysocki2012-11-23 12:23:40 +0100
commit907ddf89d0bb7f57e1e21485900e6564a1ab512a (patch)
tree5008892e74b8b805a120b659f701604593b5d3f7 /drivers/acpi/Makefile
parentACPI / platform: Initialize ACPI handles of platform devices in advance (diff)
downloadkernel-qcow2-linux-907ddf89d0bb7f57e1e21485900e6564a1ab512a.tar.gz
kernel-qcow2-linux-907ddf89d0bb7f57e1e21485900e6564a1ab512a.tar.xz
kernel-qcow2-linux-907ddf89d0bb7f57e1e21485900e6564a1ab512a.zip
i2c / ACPI: add ACPI enumeration support
ACPI 5 introduced I2cSerialBus resource that makes it possible to enumerate and configure the I2C slave devices behind the I2C controller. This patch adds helper functions to support I2C slave enumeration. An ACPI enabled I2C controller driver only needs to call acpi_i2c_register_devices() in order to get its slave devices enumerated, created and bound to the corresponding ACPI handle. Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/Makefile')
-rw-r--r--drivers/acpi/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/Makefile b/drivers/acpi/Makefile
index 3223edfb23b6..7198b6d6b763 100644
--- a/drivers/acpi/Makefile
+++ b/drivers/acpi/Makefile
@@ -69,6 +69,7 @@ obj-$(CONFIG_ACPI_HED) += hed.o
obj-$(CONFIG_ACPI_EC_DEBUGFS) += ec_sys.o
obj-$(CONFIG_ACPI_CUSTOM_METHOD)+= custom_method.o
obj-$(CONFIG_ACPI_BGRT) += bgrt.o
+obj-$(CONFIG_ACPI_I2C) += acpi_i2c.o
# processor has its own "processor." module_param namespace
processor-y := processor_driver.o processor_throttling.o