summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/rtsx_pcr.c
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2012-11-09 10:19:54 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2012-11-09 10:27:45 +0100
commitaec17ea1ee78923f1287c18e9905c19e4dfd9c64 (patch)
treeb6293c98b68fc089a12eacc46f032a48e3dae666 /drivers/mfd/rtsx_pcr.c
parentmfd: Select MFD_CORE for rtsx (diff)
downloadlinux-aec17ea1ee78923f1287c18e9905c19e4dfd9c64.tar.xz
linux-aec17ea1ee78923f1287c18e9905c19e4dfd9c64.zip
mfd: Explicitely include slab.h to rtsx
This fixes the following build error on some architectures (parisc at least): drivers/mfd/rtsx_pcr.c: In function 'rtsx_pci_init_chip': drivers/mfd/rtsx_pcr.c:985:2: error: implicit declaration of function 'kcalloc' [-Werror=implicit-function-declaration] drivers/mfd/rtsx_pcr.c:985:13: warning: assignment makes pointer from integer without a cast [enabled by default] Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/rtsx_pcr.c')
-rw-r--r--drivers/mfd/rtsx_pcr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/rtsx_pcr.c b/drivers/mfd/rtsx_pcr.c
index 56d4377c62c2..3a44efa29203 100644
--- a/drivers/mfd/rtsx_pcr.c
+++ b/drivers/mfd/rtsx_pcr.c
@@ -22,6 +22,7 @@
#include <linux/pci.h>
#include <linux/module.h>
+#include <linux/slab.h>
#include <linux/dma-mapping.h>
#include <linux/highmem.h>
#include <linux/interrupt.h>