diff options
author | Simon Horman <horms@verge.net.au> | 2010-11-26 18:02:57 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-11-28 22:54:44 -0500 |
commit | 7211a1bae6eac26539eb2d77a26fcd1bccef8137 (patch) | |
tree | a093fcc3e1a12cf95bd74c2403bf26e445a47447 /arch | |
parent | da1d39e3903bc35be2b5e8d2116fdd5d337244d4 (diff) |
sh, mmc: Make mmcif_update_progress static inline
extern inline doesn't make much sense
Cc: Yusuke Goda <yusuke.goda.sx@renesas.com>
Cc: Magnus Damm <magnus.damm@gmail.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sh/include/mach-common/mach/romimage.h | 2 | ||||
-rw-r--r-- | arch/sh/include/mach-ecovec24/mach/romimage.h | 2 | ||||
-rw-r--r-- | arch/sh/include/mach-kfr2r09/mach/romimage.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/arch/sh/include/mach-common/mach/romimage.h b/arch/sh/include/mach-common/mach/romimage.h index 08fb42269ecd..3670455faaac 100644 --- a/arch/sh/include/mach-common/mach/romimage.h +++ b/arch/sh/include/mach-common/mach/romimage.h | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | #else /* __ASSEMBLY__ */ | 5 | #else /* __ASSEMBLY__ */ |
6 | 6 | ||
7 | extern inline void mmcif_update_progress(int nr) | 7 | static inline void mmcif_update_progress(int nr) |
8 | { | 8 | { |
9 | } | 9 | } |
10 | 10 | ||
diff --git a/arch/sh/include/mach-ecovec24/mach/romimage.h b/arch/sh/include/mach-ecovec24/mach/romimage.h index 1dcf5e6c8d83..d63ef51ec186 100644 --- a/arch/sh/include/mach-ecovec24/mach/romimage.h +++ b/arch/sh/include/mach-ecovec24/mach/romimage.h | |||
@@ -35,7 +35,7 @@ | |||
35 | #define HIZCRA 0xa4050158 | 35 | #define HIZCRA 0xa4050158 |
36 | #define PGDR 0xa405012c | 36 | #define PGDR 0xa405012c |
37 | 37 | ||
38 | extern inline void mmcif_update_progress(int nr) | 38 | static inline void mmcif_update_progress(int nr) |
39 | { | 39 | { |
40 | /* disable Hi-Z for LED pins */ | 40 | /* disable Hi-Z for LED pins */ |
41 | __raw_writew(__raw_readw(HIZCRA) & ~(1 << 1), HIZCRA); | 41 | __raw_writew(__raw_readw(HIZCRA) & ~(1 << 1), HIZCRA); |
diff --git a/arch/sh/include/mach-kfr2r09/mach/romimage.h b/arch/sh/include/mach-kfr2r09/mach/romimage.h index 976256a323f2..7a883167c846 100644 --- a/arch/sh/include/mach-kfr2r09/mach/romimage.h +++ b/arch/sh/include/mach-kfr2r09/mach/romimage.h | |||
@@ -23,7 +23,7 @@ | |||
23 | 23 | ||
24 | #else /* __ASSEMBLY__ */ | 24 | #else /* __ASSEMBLY__ */ |
25 | 25 | ||
26 | extern inline void mmcif_update_progress(int nr) | 26 | static inline void mmcif_update_progress(int nr) |
27 | { | 27 | { |
28 | } | 28 | } |
29 | 29 | ||