mirror of
https://github.com/torvalds/linux.git
synced 2026-06-03 20:14:06 +02:00
irqchip/aslint-sswi: Request IO memory resource
Make an aclint_sswi instance visible in the resource list, i.e. /proc/iomem Signed-off-by: Vladimir Kondratiev <vladimir.kondratiev@mobileye.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://patch.msgid.link/20251209142336.1061606-1-vladimir.kondratiev@mobileye.com
This commit is contained in:
parent
8f0b4cce44
commit
8a7f030df8
|
|
@ -109,7 +109,7 @@ static int __init aclint_sswi_probe(struct fwnode_handle *fwnode)
|
||||||
if (!is_of_node(fwnode))
|
if (!is_of_node(fwnode))
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
reg = of_iomap(to_of_node(fwnode), 0);
|
reg = of_io_request_and_map(to_of_node(fwnode), 0, NULL);
|
||||||
if (!reg)
|
if (!reg)
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user