Selaa lähdekoodia

powerpc/cell: Add rtas rtc calls for the QPACE platform

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>
Benjamin Krill 16 vuotta sitten
vanhempi
commit
41fd81cc56
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      arch/powerpc/platforms/cell/qpace_setup.c

+ 2 - 0
arch/powerpc/platforms/cell/qpace_setup.c

@@ -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,