浏览代码

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 17 年之前
父节点
当前提交
41fd81cc56
共有 1 个文件被更改,包括 2 次插入0 次删除
  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,
 	.power_off		= rtas_power_off,
 	.halt			= rtas_halt,
 	.halt			= rtas_halt,
 	.get_boot_time		= rtas_get_boot_time,
 	.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,
 	.calibrate_decr		= generic_calibrate_decr,
 	.progress		= qpace_progress,
 	.progress		= qpace_progress,
 	.init_IRQ		= iic_init_IRQ,
 	.init_IRQ		= iic_init_IRQ,