diff options
author | Baolin Wang <baolin.wang@linaro.org> | 2018-06-22 04:09:01 -0400 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2018-06-26 16:46:28 -0400 |
commit | 2ceda54c44530b8e46363b0b12201855da5fd631 (patch) | |
tree | 33aadde8dfa4d08317e808b76a7a79aa03966aec | |
parent | c102780acdbc22e5f664cfaf760eaccffbd6c385 (diff) |
hwspinlock: Remove redundant config
The hardware core can not be built as a module, so remove the redundant
CONFIG_HWSPINLOCK_MODULE config.
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
-rw-r--r-- | include/linux/hwspinlock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/hwspinlock.h b/include/linux/hwspinlock.h index 94064cce6962..0afe693be5f4 100644 --- a/include/linux/hwspinlock.h +++ b/include/linux/hwspinlock.h | |||
@@ -52,7 +52,7 @@ struct hwspinlock_pdata { | |||
52 | int base_id; | 52 | int base_id; |
53 | }; | 53 | }; |
54 | 54 | ||
55 | #if defined(CONFIG_HWSPINLOCK) || defined(CONFIG_HWSPINLOCK_MODULE) | 55 | #ifdef CONFIG_HWSPINLOCK |
56 | 56 | ||
57 | int hwspin_lock_register(struct hwspinlock_device *bank, struct device *dev, | 57 | int hwspin_lock_register(struct hwspinlock_device *bank, struct device *dev, |
58 | const struct hwspinlock_ops *ops, int base_id, int num_locks); | 58 | const struct hwspinlock_ops *ops, int base_id, int num_locks); |