]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: mite: move #include <linux/slab.h>
authorIan Abbott <abbotti@mev.co.uk>
Fri, 1 May 2015 17:03:56 +0000 (18:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 May 2015 07:24:02 +0000 (09:24 +0200)
commit272b1ae57828b99c932d518da6f174bcb72b87f7
tree865c413108eb3279b00a471b63591f45ffbf8f2b
parenteef94f6b7bff013d4efbc5d8ba1eefcd5a88734d
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>
drivers/staging/comedi/drivers/mite.c
drivers/staging/comedi/drivers/mite.h