arm/sa1100: fix sa1100-rtc memory resource
authorDmitry Artamonow <mad_soft@inbox.ru>
Sat, 14 Apr 2012 06:26:19 +0000 (10:26 +0400)
committerHaojian Zhuang <haojian.zhuang@gmail.com>
Fri, 27 Apr 2012 03:02:14 +0000 (11:02 +0800)
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>

No differences found