Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141224
b: refs/heads/master
c: 1836842
h: refs/heads/master
v: v3
  • Loading branch information
Andre Haupt authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent b355fb2 commit b05021b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 387ed8f8ed047b7a70578767c4bc9d86a82312bf
refs/heads/master: 1836842b206b9244c0d1f5075be0d07a69e14045
16 changes: 8 additions & 8 deletions trunk/drivers/staging/me4000/me4000.c
Original file line number Diff line number Diff line change
Expand Up @@ -246,17 +246,17 @@ static irqreturn_t me4000_ext_int_isr(int, void *);
Inline functions
---------------------------------------------------------------------------*/

static int inline me4000_buf_count(struct me4000_circ_buf buf, int size)
static inline int me4000_buf_count(struct me4000_circ_buf buf, int size)
{
return (buf.head - buf.tail) & (size - 1);
}

static int inline me4000_buf_space(struct me4000_circ_buf buf, int size)
static inline int me4000_buf_space(struct me4000_circ_buf buf, int size)
{
return (buf.tail - (buf.head + 1)) & (size - 1);
}

static int inline me4000_values_to_end(struct me4000_circ_buf buf, int size)
static inline int me4000_values_to_end(struct me4000_circ_buf buf, int size)
{
int end;
int n;
Expand All @@ -265,7 +265,7 @@ static int inline me4000_values_to_end(struct me4000_circ_buf buf, int size)
return (n < end) ? n : end;
}

static int inline me4000_space_to_end(struct me4000_circ_buf buf, int size)
static inline int me4000_space_to_end(struct me4000_circ_buf buf, int size)
{
int end;
int n;
Expand All @@ -275,27 +275,27 @@ static int inline me4000_space_to_end(struct me4000_circ_buf buf, int size)
return (n <= end) ? n : (end + 1);
}

static void inline me4000_outb(unsigned char value, unsigned long port)
static inline void me4000_outb(unsigned char value, unsigned long port)
{
PORT_PDEBUG("--> 0x%02X port 0x%04lX\n", value, port);
outb(value, port);
}

static void inline me4000_outl(unsigned long value, unsigned long port)
static inline void me4000_outl(unsigned long value, unsigned long port)
{
PORT_PDEBUG("--> 0x%08lX port 0x%04lX\n", value, port);
outl(value, port);
}

static unsigned long inline me4000_inl(unsigned long port)
static inline unsigned long me4000_inl(unsigned long port)
{
unsigned long value;
value = inl(port);
PORT_PDEBUG("<-- 0x%08lX port 0x%04lX\n", value, port);
return value;
}

static unsigned char inline me4000_inb(unsigned long port)
static inline unsigned char me4000_inb(unsigned long port)
{
unsigned char value;
value = inb(port);
Expand Down

0 comments on commit b05021b

Please sign in to comment.