From: H Hartley Sweeten Date: Thu, 17 Jul 2014 17:02:02 +0000 (-0700) Subject: staging: comedi: ni_670x: fix compile on ARCH=arm X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~577 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bda230cf25a008aa083fc79f277116da2bfd5e4e;p=pandora-kernel.git 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 Cc: kbuild test robot Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed