From: Samuel Ortiz Date: Fri, 9 Nov 2012 09:19:54 +0000 (+0100) Subject: mfd: Explicitely include slab.h to rtsx X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=aec17ea1ee78923f1287c18e9905c19e4dfd9c64;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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 #include +#include #include #include #include