All of lore.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] drivers/sbus/char/aurora.c: "extern inline" -> "static inline"
@ 2005-11-20 23:23 Adrian Bunk
  2005-11-22 23:32 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2005-11-20 23:23 UTC (permalink / raw)
  To: linux-kernel

"extern inline" doesn't make much sense.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

 drivers/sbus/char/aurora.c |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

--- linux-2.6.15-rc1-mm2-full/drivers/sbus/char/aurora.c.old	2005-11-20 19:50:47.000000000 +0100
+++ linux-2.6.15-rc1-mm2-full/drivers/sbus/char/aurora.c	2005-11-20 19:50:32.000000000 +0100
@@ -124,25 +124,25 @@
  */
 
 /* 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;
 
@@ -161,7 +161,7 @@
  */
 
 /* 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;
 
@@ -420,7 +420,7 @@
 	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");


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [2.6 patch] drivers/sbus/char/aurora.c: "extern inline" -> "static inline"
  2005-11-20 23:23 [2.6 patch] drivers/sbus/char/aurora.c: "extern inline" -> "static inline" Adrian Bunk
@ 2005-11-22 23:32 ` David S. Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2005-11-22 23:32 UTC (permalink / raw)
  To: bunk; +Cc: linux-kernel

From: Adrian Bunk <bunk@stusta.de>
Date: Mon, 21 Nov 2005 00:23:58 +0100

> "extern inline" doesn't make much sense.
> 
> Signed-off-by: Adrian Bunk <bunk@stusta.de>

Applied, thanks a lot.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-11-22 23:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-20 23:23 [2.6 patch] drivers/sbus/char/aurora.c: "extern inline" -> "static inline" Adrian Bunk
2005-11-22 23:32 ` David S. Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.