staging: comedi: mite: move #include <linux/slab.h>

The Comedi driver modules build fine if the inclusion of <linux/slab.h>
is removed from "mite.h", so remove it.  However, since "mite.c" calls
`kzalloc()`, include <linux/slab.h> there.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Ian Abbott 2015-05-01 18:03:56 +01:00 committed by Greg Kroah-Hartman
parent eef94f6b7b
commit 272b1ae578
2 changed files with 1 additions and 1 deletions

View File

@ -47,6 +47,7 @@
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/slab.h>
#include "../comedi_pci.h"

View File

@ -20,7 +20,6 @@
#define _MITE_H_
#include <linux/log2.h>
#include <linux/slab.h>
#include "../comedi_pci.h"
#define PCIMIO_COMPAT