Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7211a1ba authored by Simon Horman's avatar Simon Horman Committed by Paul Mundt
Browse files

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: default avatarSimon Horman <horms@verge.net.au>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent da1d39e3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@

#else /* __ASSEMBLY__ */

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

+1 −1
Original line number Diff line number Diff line
@@ -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);
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@

#else /* __ASSEMBLY__ */

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