diff options
| author | Karthikeyan Ramasubramanian <kramasub@codeaurora.org> | 2016-01-25 11:40:19 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:02:12 -0700 |
| commit | 219ef7f352ec358edbc5d869b625da28e291b74f (patch) | |
| tree | 2a4457c6bfef627bb1d3750a449f57bad9f6c60d | |
| parent | e170bbd9bd409ea52c123aa5d8c2a1da84aa2648 (diff) | |
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 <kramasub@codeaurora.org>
| -rw-r--r-- | drivers/soc/qcom/smp2p_spinlock_test.c | 3 | ||||
| -rw-r--r-- | 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 <linux/jiffies.h> #include <linux/delay.h> #include <linux/completion.h> +#include <linux/module.h> #include <linux/remote_spinlock.h> #include <soc/qcom/smem.h> #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 <linux/jiffies.h> #include <linux/delay.h> #include <linux/completion.h> +#include <linux/module.h> #include <soc/qcom/subsystem_restart.h> #include "smp2p_private.h" #include "smp2p_test_common.h" |
