From bda230cf25a008aa083fc79f277116da2bfd5e4e Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Thu, 17 Jul 2014 10:02:02 -0700 Subject: [PATCH] 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-format-patch failed