summaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2013-08-29 22:53:25 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-30 11:30:58 -0700
commit351699d7ebb1e489d2ee5b51d1b4dd4cc2a822ac (patch)
tree45b6968e55f910382464a8180b3701ee49894caf /drivers/staging
parentc211148fb6355f347ec819a05c3034acd56e75c1 (diff)
staging: dgap: Add missing #include <linux/slab.h>
drivers/staging/dgap/dgap_driver.c: In function ‘dgap_cleanup_module’: drivers/staging/dgap/dgap_driver.c:423: error: implicit declaration of function ‘kfree’ drivers/staging/dgap/dgap_driver.c: In function ‘dgap_driver_kzmalloc’: drivers/staging/dgap/dgap_driver.c:940: error: implicit declaration of function ‘kmalloc’ drivers/staging/dgap/dgap_driver.c:940: warning: initialization makes pointer from integer without a cast Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/dgap/dgap_driver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/dgap/dgap_driver.c b/drivers/staging/dgap/dgap_driver.c
index 9f777e41c9a6..724a685753dd 100644
--- a/drivers/staging/dgap/dgap_driver.c
+++ b/drivers/staging/dgap/dgap_driver.c
@@ -36,6 +36,7 @@
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/delay.h> /* For udelay */
+#include <linux/slab.h>
#include <asm/uaccess.h> /* For copy_from_user/copy_to_user */
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,39)