OSS MIPS drivers: "extern inline" -> "static inline"
"extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:

committed by
Ralf Baechle

parent
b0c705161f
commit
6a4dea1dde
@@ -563,7 +563,7 @@ static void start_adc(struct au1000_state *s)
|
||||
#define DMABUF_DEFAULTORDER (17-PAGE_SHIFT)
|
||||
#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;
|
||||
|
||||
@@ -667,14 +667,14 @@ static int prog_dmabuf(struct au1000_state *s, struct dmabuf *db)
|
||||
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);
|
||||
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);
|
||||
return prog_dmabuf(s, &s->dma_dac);
|
||||
|
Reference in New Issue
Block a user