]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
i2c: sh_mobile & rcar: Enable the driver on all ARM platforms
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 29 Oct 2013 22:37:38 +0000 (23:37 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 31 Oct 2013 11:46:48 +0000 (12:46 +0100)
Renesas ARM platforms are transitioning from single-platform to
multi-platform kernels using the new ARCH_SHMOBILE_MULTI. Make the
driver available on all ARM platforms to enable it on both ARCH_SHMOBILE
and ARCH_SHMOBILE_MULTI, and increase build testing coverage with
COMPILE_TEST.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/Kconfig

index cdcbd8368ed344d205d7edb2edcdfe90919fd42f..7c4bb071c1238312761759eec3c623f78fcfcaf4 100644 (file)
@@ -665,7 +665,7 @@ config I2C_SH7760
 
 config I2C_SH_MOBILE
        tristate "SuperH Mobile I2C Controller"
-       depends on SUPERH || ARCH_SHMOBILE
+       depends on SUPERH || ARM || COMPILE_TEST
        help
          If you say yes to this option, support will be included for the
          built-in I2C interface on the Renesas SH-Mobile processor.
@@ -768,7 +768,7 @@ config I2C_XLR
 
 config I2C_RCAR
        tristate "Renesas R-Car I2C Controller"
-       depends on ARCH_SHMOBILE && I2C
+       depends on ARM || COMPILE_TEST
        help
          If you say yes to this option, support will be included for the
          R-Car I2C controller.