Skip to content

Commit

Permalink
[SPARC]: drivers/sbus/char/aurora.c: "extern inline" -> "static inline"
Browse files Browse the repository at this point in the history
"extern inline" doesn't make much sense.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Adrian Bunk authored and David S. Miller committed Nov 22, 2005
1 parent b3a5225 commit a9b1ef8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions drivers/sbus/char/aurora.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,25 +124,25 @@ static inline int aurora_paranoia_check(struct Aurora_port const * port,
*/

/* Get board number from pointer */
extern inline int board_No (struct Aurora_board const * bp)
static inline int board_No (struct Aurora_board const * bp)
{
return bp - aurora_board;
}

/* Get port number from pointer */
extern inline int port_No (struct Aurora_port const * port)
static inline int port_No (struct Aurora_port const * port)
{
return AURORA_PORT(port - aurora_port);
}

/* Get pointer to board from pointer to port */
extern inline struct Aurora_board * port_Board(struct Aurora_port const * port)
static inline struct Aurora_board * port_Board(struct Aurora_port const * port)
{
return &aurora_board[AURORA_BOARD(port - aurora_port)];
}

/* Wait for Channel Command Register ready */
extern inline void aurora_wait_CCR(struct aurora_reg128 * r)
static inline void aurora_wait_CCR(struct aurora_reg128 * r)
{
unsigned long delay;

Expand All @@ -161,7 +161,7 @@ printk("aurora_wait_CCR\n");
*/

/* Must be called with enabled interrupts */
extern inline void aurora_long_delay(unsigned long delay)
static inline void aurora_long_delay(unsigned long delay)
{
unsigned long i;

Expand Down Expand Up @@ -420,7 +420,7 @@ static void aurora_release_io_range(struct Aurora_board *bp)
sbus_iounmap((unsigned long)bp->r3, 4);
}

extern inline void aurora_mark_event(struct Aurora_port * port, int event)
static inline void aurora_mark_event(struct Aurora_port * port, int event)
{
#ifdef AURORA_DEBUG
printk("aurora_mark_event: start\n");
Expand Down

0 comments on commit a9b1ef8

Please sign in to comment.