diff options
author | Tomasz Figa <t.figa@samsung.com> | 2012-11-07 23:45:00 (GMT) |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-11-07 23:45:00 (GMT) |
commit | 62ef4a5d7a33852b54798dd738f675ac746f0d4c (patch) | |
tree | 3d4295e347fcc22ef457fb701236f30a7683983b /fs/exofs | |
parent | fa089de7d5daaab1b2594faece20a9f72d31ca10 (diff) | |
download | linux-62ef4a5d7a33852b54798dd738f675ac746f0d4c.tar.xz |
ARM: EXYNOS: Make s3c_device_i2c0 always use id 0
This patch removes compatibility definitions added long time ago when
clock ids were used instead of devnames that were needed for platforms
with only one i2c controller with id -1 (some s3c24xx's).
Because currently devname field is used for matching device instances to
clocks and if no devname is provided (as in clock-s3c2412.c and
common-s3c2443.c for i2c clock, both in arch/arm/mach-s3c24xx) the clock
is being matched only by name, so s3c_device_i2c0 can always have id 0.
This patch solves the issue with i2c0 broken on boards where its the
only i2c controller used, tested on Origen.
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'fs/exofs')
0 files changed, 0 insertions, 0 deletions