Message ID | 168155745691.13678.14513434425435520788.stgit@skinsburskii.localdomain (mailing list archive) |
---|---|
State | Handled Elsewhere |
Headers | show |
Series | Expect immutable pointer in virt_to_phys/isa_virt_to_bus prototypes | expand |
diff --git a/arch/mips/include/asm/io.h b/arch/mips/include/asm/io.h index cc28d207a061..d78ca2e71f8c 100644 --- a/arch/mips/include/asm/io.h +++ b/arch/mips/include/asm/io.h @@ -137,7 +137,7 @@ static inline void * phys_to_virt(unsigned long address) /* * ISA I/O bus memory addresses are 1:1 with the physical address. */ -static inline unsigned long isa_virt_to_bus(volatile void *address) +static inline unsigned long isa_virt_to_bus(const volatile void *address) { return virt_to_phys(address); }