]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit18726e0824fb7984f59a6bb59eee61ea28e4b08a
treed24783345549df8f3fbb12f77ee9fb3a0ca29607
parent5112d65a963d3d5704ee69a1b1194d321b41e9a1
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