mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 03:40:04 +00:00
staging: comedi: mite.h: needs <linux/slab.h>
As reported by the kbuild test robot:
Commit: 0bdab509bf
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>
This commit is contained in:
parent
631abc6e65
commit
0dd6f4a414
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@
|
|||
|
||||
#include <linux/pci.h>
|
||||
#include <linux/log2.h>
|
||||
#include <linux/slab.h>
|
||||
#include "../comedidev.h"
|
||||
|
||||
/* #define DEBUG_MITE */
|
||||
|
|
Loading…
Reference in a new issue