diff options
author | Dmitry Artamonow <mad_soft@inbox.ru> | 2012-04-14 10:26:19 +0400 |
---|---|---|
committer | Haojian Zhuang <haojian.zhuang@gmail.com> | 2012-04-27 11:02:14 +0800 |
commit | 9f9d27e3f3317f39c91c286b6184f1ca05452968 (patch) | |
tree | c67182f09e7d255b81ae646e413105f9d267723d /arch/arm/mach-pxa/clock-pxa2xx.c | |
parent | b95ace54a23e2f8ebb032744cebb17c9f43bf651 (diff) | |
download | talos-obmc-linux-9f9d27e3f3317f39c91c286b6184f1ca05452968.tar.gz talos-obmc-linux-9f9d27e3f3317f39c91c286b6184f1ca05452968.zip |
arm/sa1100: fix sa1100-rtc memory resource
DEFINE_RES_MEM() takes the size of resource as a second argument,
not the end address. Passing end address leads to following error
in runtime during device registration:
sa1100-rtc: failed to claim resource 0
Fix it.
Signed-off-by: Dmitry Artamonow <mad_soft@inbox.ru>
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/clock-pxa2xx.c')
0 files changed, 0 insertions, 0 deletions