Skip to content

Commit

Permalink
sh: mrshpc_setup_windows() needs to be inline.
Browse files Browse the repository at this point in the history
While no one should be including this file multiple times, flag it
inline anyways just in case.

Signed-off-by: Paul Mundt <[email protected]>
  • Loading branch information
pmundt committed Dec 22, 2008
1 parent 1f6fd5c commit 0146d78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sh/include/mach-se/mach/mrshpc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 0146d78

Please sign in to comment.