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

Commit 0146d787 authored by Paul Mundt's avatar Paul Mundt
Browse files

sh: mrshpc_setup_windows() needs to be inline.



While no one should be including this file multiple times, flag it
inline anyways just in case.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 1f6fd5c9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@

#include <linux/io.h>

static void __init mrshpc_setup_windows(void)
static inline void __init mrshpc_setup_windows(void)
{
	if ((__raw_readw(MRSHPC_CSR) & 0x000c) != 0)
		return;	/* Not detected */