summaryrefslogtreecommitdiffstats
path: root/include/linux/hwspinlock.h
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang@linaro.org>2018-06-22 16:09:01 +0800
committerBjorn Andersson <bjorn.andersson@linaro.org>2018-06-26 13:46:28 -0700
commit2ceda54c44530b8e46363b0b12201855da5fd631 (patch)
tree33aadde8dfa4d08317e808b76a7a79aa03966aec /include/linux/hwspinlock.h
parentc102780acdbc22e5f664cfaf760eaccffbd6c385 (diff)
downloadlinux-2ceda54c44530b8e46363b0b12201855da5fd631.tar.gz
linux-2ceda54c44530b8e46363b0b12201855da5fd631.tar.bz2
linux-2ceda54c44530b8e46363b0b12201855da5fd631.zip
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>
Diffstat (limited to 'include/linux/hwspinlock.h')
-rw-r--r--include/linux/hwspinlock.h2
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 {
int base_id;
};
-#if defined(CONFIG_HWSPINLOCK) || defined(CONFIG_HWSPINLOCK_MODULE)
+#ifdef CONFIG_HWSPINLOCK
int hwspin_lock_register(struct hwspinlock_device *bank, struct device *dev,
const struct hwspinlock_ops *ops, int base_id, int num_locks);