Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb Make uhci_find_prev_qh() always 'static inline', ...



details:   https://anonhg.NetBSD.org/src/rev/397fcd5a0c0c
branches:  trunk
changeset: 768079:397fcd5a0c0c
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Sun Aug 07 18:58:52 2011 +0000

description:
Make uhci_find_prev_qh() always 'static inline', just 'inline" leads to trouble.

diffstat:

 sys/dev/usb/uhci.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r d434ffaab10b -r 397fcd5a0c0c sys/dev/usb/uhci.c
--- a/sys/dev/usb/uhci.c        Sun Aug 07 17:39:34 2011 +0000
+++ b/sys/dev/usb/uhci.c        Sun Aug 07 18:58:52 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uhci.c,v 1.239 2011/06/09 19:08:32 matt Exp $  */
+/*     $NetBSD: uhci.c,v 1.240 2011/08/07 18:58:52 jakllsch Exp $      */
 /*     $FreeBSD: src/sys/dev/usb/uhci.c,v 1.33 1999/11/17 22:33:41 n_hibma Exp $       */
 
 /*
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.239 2011/06/09 19:08:32 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.240 2011/08/07 18:58:52 jakllsch Exp $");
 
 #include "opt_usb.h"
 
@@ -222,7 +222,7 @@
 Static void            uhci_device_clear_toggle(usbd_pipe_handle pipe);
 Static void            uhci_noop(usbd_pipe_handle pipe);
 
-Static inline uhci_soft_qh_t *uhci_find_prev_qh(uhci_soft_qh_t *,
+static inline uhci_soft_qh_t *uhci_find_prev_qh(uhci_soft_qh_t *,
                                                    uhci_soft_qh_t *);
 
 #ifdef UHCI_DEBUG
@@ -353,7 +353,7 @@
        } while (0)
 #define uhci_active_intr_info(ii) ((ii)->list.le_prev != NULL)
 
-Static inline uhci_soft_qh_t *
+static inline uhci_soft_qh_t *
 uhci_find_prev_qh(uhci_soft_qh_t *pqh, uhci_soft_qh_t *sqh)
 {
        DPRINTFN(15,("uhci_find_prev_qh: pqh=%p sqh=%p\n", pqh, sqh));



Home | Main Index | Thread Index | Old Index