Răsfoiți Sursa

Merge branches 'tracing/hw-branch-tracing' and 'tracing/branch-tracer' into tracing/core

Ingo Molnar 16 ani în urmă
părinte
comite
509dceef64
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      include/linux/tty.h

+ 1 - 1
include/linux/tty.h

@@ -325,7 +325,7 @@ extern struct class *tty_class;
  *	go away
  */
 
-extern inline struct tty_struct *tty_kref_get(struct tty_struct *tty)
+static inline struct tty_struct *tty_kref_get(struct tty_struct *tty)
 {
 	if (tty)
 		kref_get(&tty->kref);