ARM: pxa: add memory resource to SA1100 RTC device
authorRob Herring <robh@kernel.org>
Mon, 2 Feb 2015 23:50:32 +0000 (17:50 -0600)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sat, 5 Sep 2015 17:37:16 +0000 (19:37 +0200)
commit2c4fabec8790384b91473aa3d0d28d4407168ef9
tree5eb7d8c67ffa232b2291303357f158fbf7401884
parent3cdf4ad9633e3ca616617e76b46915c02cba426b
ARM: pxa: add memory resource to SA1100 RTC device

The drivers for the SA1100 and PXA RTCs are now mutually exclusive, so
add the memory resource for the sa1100-rtc device. Since the memory
resource is already present in the pxa_rtc_resources, that makes
sa1100_rtc_resources and pxa_rtc_resources equivalent, so use
pxa_rtc_resources for both devices and remove the duplicate
sa1100_rtc_resources.

Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Daniel Mack <daniel@zonque.org>
Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
arch/arm/mach-pxa/devices.c