drivers/misc/samsung/scsc/platform_mif.c: In function 'platform_mif_map_region':
drivers/misc/samsung/scsc/platform_mif.c:1501:2: error: implicit declaration of function 'kmalloc' [-Werror=implicit-function-declaration]
pages = kmalloc((size >> PAGE_SHIFT) * sizeof(*pages), GFP_KERNEL);
^
drivers/misc/samsung/scsc/platform_mif.c:1501:8: warning: assignment makes pointer from integer without a cast
pages = kmalloc((size >> PAGE_SHIFT) * sizeof(*pages), GFP_KERNEL);
^
drivers/misc/samsung/scsc/platform_mif.c:1513:2: error: implicit declaration of function 'kfree' [-Werror=implicit-function-declaration]
kfree(pages);
Change-Id: I633d0e41aa929a510bdd510f928a2f9479239b11
SCSC-Bug-Id: SSB-40175
Signed-off-by: Tarun Karela <t.karela@samsung.com>
#include <linux/version.h>
#include <linux/module.h>
#include <linux/interrupt.h>
+#include <linux/pm_qos.h>
#include <linux/platform_device.h>
#include <linux/moduleparam.h>
#include <linux/iommu.h>
+#include <linux/slab.h>
#include <linux/io.h>
#ifndef CONFIG_SOC_EXYNOS7570
#include <linux/smc.h>