Patchwork Add rtas rtc calls for the QPACE platform

login
register
mail settings
Submitter Benjamin Krill
Date Feb. 20, 2009, 1:09 p.m.
Message ID <20090220130939.GA31251@codiert.org>
Download mbox | patch
Permalink /patch/23477/
State Accepted
Commit 41fd81cc568156af90913c248c40788b6f57c887
Delegated to: Benjamin Herrenschmidt
Headers show

Comments

Benjamin Krill - Feb. 20, 2009, 1:09 p.m.
The new firmware release exports further RTC calls. This
patch adds these calls to the QPACE platform setup file.

Signed-off-by: Benjamin Krill <ben@codiert.org>
---
 arch/powerpc/platforms/cell/qpace_setup.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Patch

diff --git a/arch/powerpc/platforms/cell/qpace_setup.c b/arch/powerpc/platforms/cell/qpace_setup.c
index 775cd80..c5ce02e 100644
--- a/arch/powerpc/platforms/cell/qpace_setup.c
+++ b/arch/powerpc/platforms/cell/qpace_setup.c
@@ -128,6 +128,8 @@  define_machine(qpace) {
 	.power_off		= rtas_power_off,
 	.halt			= rtas_halt,
 	.get_boot_time		= rtas_get_boot_time,
+	.get_rtc_time		= rtas_get_rtc_time,
+	.set_rtc_time		= rtas_set_rtc_time,
 	.calibrate_decr		= generic_calibrate_decr,
 	.progress		= qpace_progress,
 	.init_IRQ		= iic_init_IRQ,