This patch remove build error of sec-reboot.c as following log:
CC arch/arm/mach-exynos/sec-reboot.o
arch/arm/mach-exynos/sec-reboot.c: In function ‘sec_power_off’:
arch/arm/mach-exynos/sec-reboot.c:72:3: error: implicit declaration of function ‘IS_ERR’ [-Werror=implicit-function-declaration]
arch/arm/mach-exynos/sec-reboot.c: In function ‘sec_reboot_parse_dt’:
arch/arm/mach-exynos/sec-reboot.c:210:3: error: implicit declaration of function ‘ERR_PTR’ [-Werror=implicit-function-declaration]
arch/arm/mach-exynos/sec-reboot.c:210:3: warning: return makes pointer from integer without a cast [enabled by default]
cc1: some warnings being treated as errors
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
#include <linux/delay.h>
+#include <linux/err.h>
#include <linux/pm.h>
#include <linux/platform_device.h>
#include <linux/io.h>