mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-09 14:50:19 +00:00
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: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
1f6fd5c916
commit
0146d78759
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
#include <linux/io.h>
|
#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)
|
if ((__raw_readw(MRSHPC_CSR) & 0x000c) != 0)
|
||||||
return; /* Not detected */
|
return; /* Not detected */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user