summaryrefslogtreecommitdiff
path: root/drivers/base
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-04-10 09:00:15 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-04-10 09:00:15 -0700
commitc3a30420902de10bcc4c8474766cb5f97f4c4dfc (patch)
tree2948faf74aedda75be8f1b5149b0d9e79513c8e1 /drivers/base
parent3c2670e6515cf584810f417db9b00992c8b2d75a (diff)
downloadkernel-common-c3a30420902de10bcc4c8474766cb5f97f4c4dfc.tar.gz
kernel-common-c3a30420902de10bcc4c8474766cb5f97f4c4dfc.tar.bz2
kernel-common-c3a30420902de10bcc4c8474766cb5f97f4c4dfc.zip
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>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/devtmpfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/devtmpfs.c b/drivers/base/devtmpfs.c
index fda52563677f..aadf6472428f 100644
--- a/drivers/base/devtmpfs.c
+++ b/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;