From: Linus Walleij Date: Sun, 14 Jun 2009 22:30:18 +0000 (+0200) Subject: i2c-stu300: Make driver depend on MACH_U300 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4eaad8ad296a78689f148c8dcd383fc4e51ee123;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git i2c-stu300: Make driver depend on MACH_U300 This makes the stu300 driver for the ST Micro ST DDC I2C bus driver depend on MACH_U300, new platforms reusing this I2C driver will need to add in a similar dependency. Signed-off-by: Linus Walleij [ben-linux@fluff.org: re-aranged subject line] Signed-off-by: Ben Dooks --- diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index 0e0a39040835..3c259ee7ddda 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig @@ -515,6 +515,7 @@ config I2C_SIMTEC config I2C_STU300 tristate "ST Microelectronics DDC I2C interface" + depends on MACH_U300 default y if MACH_U300 help If you say yes to this option, support will be included for the