OSDN Git Service

powerpc/cell: Add rtas rtc calls for the QPACE platform
authorBenjamin Krill <ben@codiert.org>
Fri, 20 Feb 2009 03:09:39 +0000 (03:09 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 23 Feb 2009 04:53:05 +0000 (15:53 +1100)
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>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/cell/qpace_setup.c

index be84e6a..c75b662 100644 (file)
@@ -141,6 +141,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,