mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
MIPS: octeon: Fix compile error
Commited6a0b6e9f("MIPS: octeon: Use of_address_to_resource()") lost a cast, which causes a compile error. Fixes:ed6a0b6e9f("MIPS: octeon: Use of_address_to_resource()") Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
This commit is contained in:
parent
600efe35d5
commit
101f26c728
1 changed files with 1 additions and 1 deletions
|
|
@ -2890,7 +2890,7 @@ static int __init octeon_irq_init_ciu3(struct device_node *ciu_node,
|
|||
if (WARN_ON(ret))
|
||||
return ret;
|
||||
|
||||
ciu3_info->ciu3_addr = base_addr = phys_to_virt(res.start);
|
||||
ciu3_info->ciu3_addr = base_addr = (u64)phys_to_virt(res.start);
|
||||
ciu3_info->node = node;
|
||||
|
||||
consts.u64 = cvmx_read_csr(base_addr + CIU3_CONST);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue