summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-07-24 19:23:34 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-24 20:03:16 (GMT)
commit0dd6f4a414ef45a6b562566a31e1bb46fccdaf45 (patch)
treee936df468dfc66867d98635b6eaeceff766bb5b7
parent631abc6e65a7777afcdfa126343db99eaba03c3b (diff)
downloadlinux-0dd6f4a414ef45a6b562566a31e1bb46fccdaf45.tar.xz
staging: comedi: mite.h: needs <linux/slab.h>
As reported by the kbuild test robot: Commit: 0bdab509bf9c6d838dc0a3b1d68bbf841fc20b5a staging: comedi: usee comedi_alloc_devpriv Removed the include of <linux/slab.h> from many of the comedi drivers. Unfortunately, this header uses kfree() in an inline function. Instead of adding <linux/slab.h> to each of the drivers that use this header, include slab.h here. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reported-by: kbuild test robot <fengguang.wu@intel.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/comedi/drivers/mite.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/comedi/drivers/mite.h b/drivers/staging/comedi/drivers/mite.h
index d4487e8..8423b8b 100644
--- a/drivers/staging/comedi/drivers/mite.h
+++ b/drivers/staging/comedi/drivers/mite.h
@@ -21,6 +21,7 @@
#include <linux/pci.h>
#include <linux/log2.h>
+#include <linux/slab.h>
#include "../comedidev.h"
/* #define DEBUG_MITE */