firmware: rockchip: fix AARCH32 compile warning
authorchenjh <chenjh@rock-chips.com>
Thu, 16 Mar 2017 07:32:39 +0000 (15:32 +0800)
committerJianhong Chen <chenjh@rock-chips.com>
Thu, 16 Mar 2017 08:43:52 +0000 (16:43 +0800)
Change-Id: I31924c9a1180d7fe034233c7ebd90413a7fa0fc3
Signed-off-by: chenjh <chenjh@rock-chips.com>
drivers/firmware/rockchip_sip.c

index 5dae744539da44a6fe7bcf0afe1a4968e90b867c..2dadfaa8c80bffcb7e7dbcccc79666fc2251b21c 100644 (file)
@@ -125,7 +125,7 @@ void psci_fiq_debugger_uart_irq_tf_init(u32 irq_id, void *callback)
 
        psci_fiq_debugger_uart_irq_tf = callback;
        sip_smmc = __invoke_sip_fn_smc(PSCI_SIP_UARTDBG_CFG64, irq_id,
-                                      (u64)psci_fiq_debugger_uart_irq_tf_cb,
+                                      (unsigned long)psci_fiq_debugger_uart_irq_tf_cb,
                                       UARTDBG_CFG_INIT);
        ft_fiq_mem_phy = sip_smmc.a0;
        ft_fiq_mem_base = ioremap(ft_fiq_mem_phy, 8 * 1024);