Skip to content

Commit 3f08ff4

Browse files
AdrianBunkLinus Torvalds
authored andcommitted
[PATCH] include/video/newport.h: "extern inline" -> "static inline"
"extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk <bunk@stusta.de> Cc: "Antonino A. Daplas" <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent d911233 commit 3f08ff4

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎include/video/newport.h‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,15 +382,16 @@ typedef struct {
382382
#define VC2_IREG_CONTROL 0x10
383383
#define VC2_IREG_CONFIG 0x20
384384

385-
extern __inline__ void newport_vc2_set(struct newport_regs *regs, unsigned char vc2ireg,
385+
static inline void newport_vc2_set(struct newport_regs *regs,
386+
unsigned char vc2ireg,
386387
unsigned short val)
387388
{
388389
regs->set.dcbmode = (NPORT_DMODE_AVC2 | VC2_REGADDR_INDEX | NPORT_DMODE_W3 |
389390
NPORT_DMODE_ECINC | VC2_PROTOCOL);
390391
regs->set.dcbdata0.byword = (vc2ireg << 24) | (val << 8);
391392
}
392393

393-
extern __inline__ unsigned short newport_vc2_get(struct newport_regs *regs,
394+
static inline unsigned short newport_vc2_get(struct newport_regs *regs,
394395
unsigned char vc2ireg)
395396
{
396397
regs->set.dcbmode = (NPORT_DMODE_AVC2 | VC2_REGADDR_INDEX | NPORT_DMODE_W1 |

0 commit comments

Comments
 (0)