Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ecba36da authored by Ralf Baechle's avatar Ralf Baechle
Browse files

Fix a few build warnings.

parent 88de09f3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -451,10 +451,10 @@ static inline void reads##bwlq(volatile void __iomem *mem, void *addr, \

#define __BUILD_IOPORT_STRING(bwlq, type)				\
									\
static inline void outs##bwlq(unsigned long port, void *addr,		\
static inline void outs##bwlq(unsigned long port, const void *addr,	\
			      unsigned int count)			\
{									\
	volatile type *__addr = addr;					\
	const volatile type *__addr = addr;				\
									\
	while (count--) {						\
		mem_out##bwlq(*__addr, port);				\