summaryrefslogtreecommitdiffstats
path: root/lib/kref.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kref.c')
-rw-r--r--lib/kref.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/kref.c b/lib/kref.c
index 9ecd6e865610..6d19f690380b 100644
--- a/lib/kref.c
+++ b/lib/kref.c
@@ -13,6 +13,7 @@
#include <linux/kref.h>
#include <linux/module.h>
+#include <linux/slab.h>
/**
* kref_set - initialize object and set refcount to requested number.