From 2fe7e23d668c8df68b21b14305c7bedb14cf1c21 Mon Sep 17 00:00:00 2001 From: Peter 'p2' De Schrijver Date: Thu, 3 Apr 2008 16:44:23 +0300 Subject: [PATCH] I2C: TWL4030: Kconfig and Makefile changes Kconfig and Makefile changes Signed-off-by: Peter 'p2' De Schrijver Signed-off-by: Felipe Balbi Signed-off-by: Tony Lindgren --- drivers/i2c/chips/Kconfig | 4 ++++ drivers/i2c/chips/Makefile | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/i2c/chips/Kconfig b/drivers/i2c/chips/Kconfig index bfab098a21d..4896f8499ce 100644 --- a/drivers/i2c/chips/Kconfig +++ b/drivers/i2c/chips/Kconfig @@ -132,6 +132,10 @@ config TWL4030_USB bool "TWL4030 USB Transceiver Driver" depends on TWL4030_CORE +config TWL4030_PWRBUTTON + bool "TWL4030 Power button Driver" + depends on TWL4030_CORE + choice prompt "Transceiver mode" depends on TWL4030_USB diff --git a/drivers/i2c/chips/Makefile b/drivers/i2c/chips/Makefile index 255fbb1c037..aa896921902 100644 --- a/drivers/i2c/chips/Makefile +++ b/drivers/i2c/chips/Makefile @@ -22,10 +22,11 @@ obj-$(CONFIG_SENSORS_TLV320AIC23) += tlv320aic23.o obj-$(CONFIG_GPIOEXPANDER_OMAP) += gpio_expander_omap.o obj-$(CONFIG_MENELAUS) += menelaus.o obj-$(CONFIG_SENSORS_TSL2550) += tsl2550.o -obj-$(CONFIG_TWL4030_CORE) += twl4030-core.o +obj-$(CONFIG_TWL4030_CORE) += twl4030-core.o twl4030-pwrirq.o obj-$(CONFIG_TWL4030_GPIO) += twl4030-gpio.o obj-$(CONFIG_TWL4030_USB) += twl4030-usb.o obj-$(CONFIG_TWL4030_POWEROFF) += twl4030-poweroff.o +obj-$(CONFIG_TWL4030_PWRBUTTON) += twl4030-pwrbutton.o obj-$(CONFIG_RTC_X1205_I2C) += x1205.o ifeq ($(CONFIG_I2C_DEBUG_CHIP),y) -- 2.41.1