diff options
author | Valentine Barshak <valentine.barshak@cogentembedded.com> | 2013-12-27 14:58:08 +0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2014-01-06 14:25:39 +0900 |
commit | db455c786886465c4d7fcd012fe2684b4c887776 (patch) | |
tree | 8754dcd1200ff3b805a8b1c2d175c68a3857341a /arch/arm/mach-shmobile/setup-r8a7790.c | |
parent | d85bcfa916ffdf078f188aeab60f738b290f4309 (diff) | |
download | op-kernel-dev-db455c786886465c4d7fcd012fe2684b4c887776.zip op-kernel-dev-db455c786886465c4d7fcd012fe2684b4c887776.tar.gz |
ARM: shmobile: r8a7790: Fix I2C controller names
This fixes the issue introduced by the following commit:
b448c904f5058b6c "ARM: shmobile: r8a7790: add I2C support"
The R8A7790 is an R-Car Gen2 SoC. The clock division factor
(CDF) width is 3 bits on Gen2 as opposed to 2 bits on Gen1.
Fix the device names for R8A7790 SoC to make the R-Car I2C
driver configure the hardware properly.
Changes in V2:
* rebased on top of the latest branch;
* capitalized ARM in the subject line;
* noted the commit that caused the issue in the log.
Signed-off-by: Valentine Barshak <valentine.barshak@cogentembedded.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/setup-r8a7790.c')
-rw-r--r-- | arch/arm/mach-shmobile/setup-r8a7790.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/setup-r8a7790.c b/arch/arm/mach-shmobile/setup-r8a7790.c index 66476d2..d6589f3 100644 --- a/arch/arm/mach-shmobile/setup-r8a7790.c +++ b/arch/arm/mach-shmobile/setup-r8a7790.c @@ -81,7 +81,7 @@ static struct resource i2c_resources[] __initdata = { #define r8a7790_register_i2c(idx) \ platform_device_register_simple( \ - "i2c-rcar", idx, \ + "i2c-rcar_gen2", idx, \ i2c_resources + (2 * idx), 2); \ void __init r8a7790_pinmux_init(void) |