Skip to content

Commit

Permalink
sh, mmc: Make mmcif_update_progress static inline
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Simon Horman authored and Paul Mundt committed Nov 29, 2010
1 parent da1d39e commit 7211a1b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion arch/sh/include/mach-common/mach/romimage.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#else /* __ASSEMBLY__ */

extern inline void mmcif_update_progress(int nr)
static inline void mmcif_update_progress(int nr)
{
}

Expand Down
2 changes: 1 addition & 1 deletion arch/sh/include/mach-ecovec24/mach/romimage.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion arch/sh/include/mach-kfr2r09/mach/romimage.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

#else /* __ASSEMBLY__ */

extern inline void mmcif_update_progress(int nr)
static inline void mmcif_update_progress(int nr)
{
}

Expand Down

0 comments on commit 7211a1b

Please sign in to comment.