Sfoglia il codice sorgente

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 12 anni fa
parent
commit
c3a3042090
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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;