staging: comedi: ni_670x: fix compile on ARCH=arm
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 17 Jul 2014 17:02:02 +0000 (10:02 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jul 2014 00:57:12 +0000 (17:57 -0700)
commitbda230cf25a008aa083fc79f277116da2bfd5e4e
tree5d7b86a472af182520012332f23b4321dfbedad0
parent2e8d47e039ec09959800ce559ed6396c4a29351d
staging: comedi: ni_670x: fix compile on ARCH=arm

The kbuild test robot reported a build error on ARCH=arm about
implicit declaration of the functions 'kmalloc' and 'kfree'.

On ARCH=x86 the slab.h header is indirectly included by pci.h,
this does not occur on ARCH=arm.

Include slab.h directly instead of relying on some other header
to include it.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: kbuild test robot <fengguang.wu@intel.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_670x.c