diff options
author | Chanwoo Choi <cw00.choi@samsung.com> | 2014-07-10 09:33:16 +0900 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-18 12:00:15 +0900 |
commit | f97654efe2541f6a11a2ff2a978ed2da5aaf9bc2 (patch) | |
tree | 2ae7a3ce6c30c7a0d54bdddae8454793d86bdab1 /arch/arm/mach-exynos/sec-reboot.c | |
parent | 5041a3d21e33b600d056ba6bd967862731146831 (diff) | |
download | linux-3.10-f97654efe2541f6a11a2ff2a978ed2da5aaf9bc2.tar.gz linux-3.10-f97654efe2541f6a11a2ff2a978ed2da5aaf9bc2.tar.bz2 linux-3.10-f97654efe2541f6a11a2ff2a978ed2da5aaf9bc2.zip |
ARM: exynos: Remove build error of sec-reboot.c
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>
Diffstat (limited to 'arch/arm/mach-exynos/sec-reboot.c')
-rw-r--r-- | arch/arm/mach-exynos/sec-reboot.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/sec-reboot.c b/arch/arm/mach-exynos/sec-reboot.c index b53e9b73a47..818b46eedc8 100644 --- a/arch/arm/mach-exynos/sec-reboot.c +++ b/arch/arm/mach-exynos/sec-reboot.c @@ -1,4 +1,5 @@ #include <linux/delay.h> +#include <linux/err.h> #include <linux/pm.h> #include <linux/platform_device.h> #include <linux/io.h> |