summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2012-11-09 09:19:54 (GMT)
committerSamuel Ortiz <sameo@linux.intel.com>2012-11-09 09:27:45 (GMT)
commitaec17ea1ee78923f1287c18e9905c19e4dfd9c64 (patch)
treeb6293c98b68fc089a12eacc46f032a48e3dae666 /drivers
parent45e48aa6cabab6b03ac62caded4d86f157997b13 (diff)
downloadlinux-fsl-qoriq-aec17ea1ee78923f1287c18e9905c19e4dfd9c64.tar.xz
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')
-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 56d4377..3a44efa 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>