mirror of
https://xff.cz/git/u-boot/
synced 2025-09-03 09:42:22 +02:00
include: linux: io: define devm_ioremap on board with ioremap
The macro devm_ioremap is only defined for configuration that doesn't have ioremap. But this macro may also be defined on configuration with ioremap. This patch remove the condition for the macro devm_ioremap, so it's always defined. Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
This commit is contained in:
committed by
Tom Rini
parent
6478848d16
commit
d28c5920cd
@@ -65,8 +65,8 @@ static inline void __iomem *ioremap(resource_size_t offset,
|
|||||||
static inline void iounmap(void __iomem *addr)
|
static inline void iounmap(void __iomem *addr)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
#define devm_ioremap(dev, offset, size) ioremap(offset, size)
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define devm_ioremap(dev, offset, size) ioremap(offset, size)
|
||||||
|
|
||||||
#endif /* _LINUX_IO_H */
|
#endif /* _LINUX_IO_H */
|
||||||
|
Reference in New Issue
Block a user