summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/i2c-core.h
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2010-03-16 11:21:07 +0000
committerPaul Mundt <lethal@linux-sh.org>2010-03-23 13:23:15 +0900
commit8d099d4446fcb23ca6cc054bde3c35b417e29b3b (patch)
treeebbbd5a429d4e90ec63b95af9b8d439fcd4b9c8c /drivers/i2c/i2c-core.h
parent67eaa3e4fb29a758f92c9296ca006264a034e9c2 (diff)
serial: sh-sci: fix SH-Mobile SH breakage
The follwing commit breaks SH-Mobile on non-ARM platforms: "8a77b8d serial: sh-sci: Support ARM-based SH-Mobile CPUs." The commit assumed that CONFIG_ARCH_SHMOBILE only was set on ARM platforms, but it turns out that this kconfig is also set by all SH-based SoCs. Sh7724 and other older SH-Mobile SoCs are all broken without this fix. This patch converts the "defined(CONFIG_ARCH_SHMOBILE)" into one "defined()" per SoC model - similar to existing SH code. Reported-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/i2c/i2c-core.h')
0 files changed, 0 insertions, 0 deletions