Commit 6a4dea1d authored by Adrian Bunk's avatar Adrian Bunk Committed by Ralf Baechle

OSS MIPS drivers: "extern inline" -> "static inline"

    
"extern inline" doesn't make much sense.
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent b0c70516
...@@ -563,7 +563,7 @@ static void start_adc(struct au1000_state *s) ...@@ -563,7 +563,7 @@ static void start_adc(struct au1000_state *s)
#define DMABUF_DEFAULTORDER (17-PAGE_SHIFT) #define DMABUF_DEFAULTORDER (17-PAGE_SHIFT)
#define DMABUF_MINORDER 1 #define DMABUF_MINORDER 1
extern inline void dealloc_dmabuf(struct au1000_state *s, struct dmabuf *db) static inline void dealloc_dmabuf(struct au1000_state *s, struct dmabuf *db)
{ {
struct page *page, *pend; struct page *page, *pend;
...@@ -667,14 +667,14 @@ static int prog_dmabuf(struct au1000_state *s, struct dmabuf *db) ...@@ -667,14 +667,14 @@ static int prog_dmabuf(struct au1000_state *s, struct dmabuf *db)
return 0; return 0;
} }
extern inline int prog_dmabuf_adc(struct au1000_state *s) static inline int prog_dmabuf_adc(struct au1000_state *s)
{ {
stop_adc(s); stop_adc(s);
return prog_dmabuf(s, &s->dma_adc); return prog_dmabuf(s, &s->dma_adc);
} }
extern inline int prog_dmabuf_dac(struct au1000_state *s) static inline int prog_dmabuf_dac(struct au1000_state *s)
{ {
stop_dac(s); stop_dac(s);
return prog_dmabuf(s, &s->dma_dac); return prog_dmabuf(s, &s->dma_dac);
......
...@@ -435,7 +435,7 @@ static int ac97_codec_not_present(struct ac97_codec *codec) ...@@ -435,7 +435,7 @@ static int ac97_codec_not_present(struct ac97_codec *codec)
/* --------------------------------------------------------------------- */ /* --------------------------------------------------------------------- */
extern inline void static inline void
stop_dac(struct vrc5477_ac97_state *s) stop_dac(struct vrc5477_ac97_state *s)
{ {
struct dmabuf* db = &s->dma_dac; struct dmabuf* db = &s->dma_dac;
...@@ -553,7 +553,7 @@ static void start_dac(struct vrc5477_ac97_state *s) ...@@ -553,7 +553,7 @@ static void start_dac(struct vrc5477_ac97_state *s)
spin_unlock_irqrestore(&s->lock, flags); spin_unlock_irqrestore(&s->lock, flags);
} }
extern inline void stop_adc(struct vrc5477_ac97_state *s) static inline void stop_adc(struct vrc5477_ac97_state *s)
{ {
struct dmabuf* db = &s->dma_adc; struct dmabuf* db = &s->dma_adc;
unsigned long flags; unsigned long flags;
...@@ -652,7 +652,7 @@ static void start_adc(struct vrc5477_ac97_state *s) ...@@ -652,7 +652,7 @@ static void start_adc(struct vrc5477_ac97_state *s)
#define DMABUF_DEFAULTORDER (16-PAGE_SHIFT) #define DMABUF_DEFAULTORDER (16-PAGE_SHIFT)
#define DMABUF_MINORDER 1 #define DMABUF_MINORDER 1
extern inline void dealloc_dmabuf(struct vrc5477_ac97_state *s, static inline void dealloc_dmabuf(struct vrc5477_ac97_state *s,
struct dmabuf *db) struct dmabuf *db)
{ {
if (db->lbuf) { if (db->lbuf) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment