]> git.karo-electronics.de Git - linux-beck.git/commitdiff
sh, mmc: Make mmcif_update_progress static inline
authorSimon Horman <horms@verge.net.au>
Fri, 26 Nov 2010 23:02:57 +0000 (23:02 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 29 Nov 2010 03:54:44 +0000 (12:54 +0900)
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>
arch/sh/include/mach-common/mach/romimage.h
arch/sh/include/mach-ecovec24/mach/romimage.h
arch/sh/include/mach-kfr2r09/mach/romimage.h

index 08fb42269ecd1c836c29d7b85b993a4796764dcf..3670455faaac907687c8d5598c958a29c419c27e 100644 (file)
@@ -4,7 +4,7 @@
 
 #else /* __ASSEMBLY__ */
 
-extern inline void mmcif_update_progress(int nr)
+static inline void mmcif_update_progress(int nr)
 {
 }
 
index 1dcf5e6c8d83239966df26af919fa5fa2300bccb..d63ef51ec186f7cf2fd5ce73779d88ec332306c0 100644 (file)
@@ -35,7 +35,7 @@
 #define HIZCRA         0xa4050158
 #define PGDR           0xa405012c
 
-extern inline void mmcif_update_progress(int nr)
+static inline void mmcif_update_progress(int nr)
 {
        /* disable Hi-Z for LED pins */
        __raw_writew(__raw_readw(HIZCRA) & ~(1 << 1), HIZCRA);
index 976256a323f2c4a85e1bdd9dbd18b1209f5e5ba0..7a883167c84619f5a5a3e064c5183582842eea47 100644 (file)
@@ -23,7 +23,7 @@
 
 #else /* __ASSEMBLY__ */
 
-extern inline void mmcif_update_progress(int nr)
+static inline void mmcif_update_progress(int nr)
 {
 }