From 219ef7f352ec358edbc5d869b625da28e291b74f Mon Sep 17 00:00:00 2001 From: Karthikeyan Ramasubramanian Date: Mon, 25 Jan 2016 11:40:19 -0700 Subject: [PATCH] soc: qcom: smp2p: Fix implicit module_init declaration error module_init() declaration has moved from init.h to module.h. Fix the "implicit module_init() declaration" compile-time error by including the module.h header file. Signed-off-by: Karthikeyan Ramasubramanian --- drivers/soc/qcom/smp2p_spinlock_test.c | 3 ++- drivers/soc/qcom/smp2p_test.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/soc/qcom/smp2p_spinlock_test.c b/drivers/soc/qcom/smp2p_spinlock_test.c index 99b4558ef01f..d188bf0702c5 100644 --- a/drivers/soc/qcom/smp2p_spinlock_test.c +++ b/drivers/soc/qcom/smp2p_spinlock_test.c @@ -1,6 +1,6 @@ /* drivers/soc/qcom/smp2p_spinlock_test.c * - * Copyright (c) 2013-2015, The Linux Foundation. All rights reserved. + * Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include "smem_private.h" diff --git a/drivers/soc/qcom/smp2p_test.c b/drivers/soc/qcom/smp2p_test.c index 20f00b2ebf1e..397a547be423 100644 --- a/drivers/soc/qcom/smp2p_test.c +++ b/drivers/soc/qcom/smp2p_test.c @@ -1,6 +1,6 @@ /* drivers/soc/qcom/smp2p_test.c * - * Copyright (c) 2013-2015, The Linux Foundation. All rights reserved. + * Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -16,6 +16,7 @@ #include #include #include +#include #include #include "smp2p_private.h" #include "smp2p_test_common.h"