mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-16 02:23:41 +08:00
linux/of_address.h: of_address_to_resource()
Translate address in of_address_to_resource(). Update #3277.
This commit is contained in:
@@ -79,7 +79,7 @@ static inline void __iomem *
|
||||
devm_ioremap(struct device *dev, resource_size_t offset, resource_size_t size)
|
||||
{
|
||||
|
||||
return (void __iomem *)(dev->base + (uintptr_t)offset);
|
||||
return (void __iomem *)(uintptr_t)offset;
|
||||
}
|
||||
|
||||
#define devm_alloc_percpu(dev, type) \
|
||||
|
Reference in New Issue
Block a user