ARM: at91:rtc/rtc-at91sam9: ioremap register bank
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Sun, 18 Sep 2011 02:17:54 +0000 (10:17 +0800)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Thu, 23 Feb 2012 13:57:58 +0000 (14:57 +0100)
commit4e9267f1b42b4f7b66214161b55f1f73365692cd
treed24783345549df8f3fbb12f77ee9fb3a0ca29607
parent205056a3ea33f5aca7adffa4584eb6572b1d3273
ARM: at91:rtc/rtc-at91sam9: ioremap register bank

Instead of computing virtual address with AT91_VA_BASE_SYS, use the
appropriate ioremap() call on the driver "memory" resource.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
drivers/rtc/rtc-at91sam9.c