summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Makefile
diff options
context:
space:
mode:
authorMathias Nyman <mathias.nyman@linux.intel.com>2012-11-30 12:37:36 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2012-11-30 12:37:36 +0100
commite29482e8487954c87dc7b4fdbc53574bf1d4cce2 (patch)
tree23b226e6ed38ad37a26a38b12662869195e0fb6a /drivers/gpio/Makefile
parent752cad760b19e85926341880dc317a99f400eacc (diff)
downloadop-kernel-dev-e29482e8487954c87dc7b4fdbc53574bf1d4cce2.zip
op-kernel-dev-e29482e8487954c87dc7b4fdbc53574bf1d4cce2.tar.gz
gpio / ACPI: add ACPI support
Add support for translating ACPI GPIO pin numbers to Linux GPIO API pins. Needs a gpio controller driver with the acpi handler hook set. Drivers can use acpi_get_gpio() to translate ACPI5 GpioIO and GpioInt resources to Linux GPIO's. Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Acked-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/gpio/Makefile')
-rw-r--r--drivers/gpio/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile
index 9aeed67..420dbac 100644
--- a/drivers/gpio/Makefile
+++ b/drivers/gpio/Makefile
@@ -4,6 +4,7 @@ ccflags-$(CONFIG_DEBUG_GPIO) += -DDEBUG
obj-$(CONFIG_GPIOLIB) += gpiolib.o devres.o
obj-$(CONFIG_OF_GPIO) += gpiolib-of.o
+obj-$(CONFIG_GPIO_ACPI) += gpiolib-acpi.o
# Device drivers. Generally keep list sorted alphabetically
obj-$(CONFIG_GPIO_GENERIC) += gpio-generic.o
OpenPOWER on IntegriCloud