Procházet zdrojové kódy

devtmpfs: add base.h include

This fixes a sparse warning, and is a good idea given that the
devtmpfs_init() prototype is in this file.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Greg Kroah-Hartman před 12 roky
rodič
revize
c3a3042090
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      drivers/base/devtmpfs.c

+ 1 - 0
drivers/base/devtmpfs.c

@@ -24,6 +24,7 @@
 #include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/kthread.h>
+#include "base.h"
 
 static struct task_struct *thread;