Commit 3f08ff4a authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

[PATCH] include/video/newport.h: "extern inline" -> "static inline"

"extern inline" doesn't make much sense.
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent d911233f
...@@ -382,7 +382,8 @@ typedef struct { ...@@ -382,7 +382,8 @@ typedef struct {
#define VC2_IREG_CONTROL 0x10 #define VC2_IREG_CONTROL 0x10
#define VC2_IREG_CONFIG 0x20 #define VC2_IREG_CONFIG 0x20
extern __inline__ void newport_vc2_set(struct newport_regs *regs, unsigned char vc2ireg, static inline void newport_vc2_set(struct newport_regs *regs,
unsigned char vc2ireg,
unsigned short val) unsigned short val)
{ {
regs->set.dcbmode = (NPORT_DMODE_AVC2 | VC2_REGADDR_INDEX | NPORT_DMODE_W3 | regs->set.dcbmode = (NPORT_DMODE_AVC2 | VC2_REGADDR_INDEX | NPORT_DMODE_W3 |
...@@ -390,7 +391,7 @@ extern __inline__ void newport_vc2_set(struct newport_regs *regs, unsigned char ...@@ -390,7 +391,7 @@ extern __inline__ void newport_vc2_set(struct newport_regs *regs, unsigned char
regs->set.dcbdata0.byword = (vc2ireg << 24) | (val << 8); regs->set.dcbdata0.byword = (vc2ireg << 24) | (val << 8);
} }
extern __inline__ unsigned short newport_vc2_get(struct newport_regs *regs, static inline unsigned short newport_vc2_get(struct newport_regs *regs,
unsigned char vc2ireg) unsigned char vc2ireg)
{ {
regs->set.dcbmode = (NPORT_DMODE_AVC2 | VC2_REGADDR_INDEX | NPORT_DMODE_W1 | regs->set.dcbmode = (NPORT_DMODE_AVC2 | VC2_REGADDR_INDEX | NPORT_DMODE_W1 |
......
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