提交 2ceda54c 编写于 作者: B Baolin Wang 提交者: Bjorn Andersson

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: NBaolin Wang <baolin.wang@linaro.org>
Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
上级 c102780a
...@@ -52,7 +52,7 @@ struct hwspinlock_pdata { ...@@ -52,7 +52,7 @@ struct hwspinlock_pdata {
int base_id; 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, int hwspin_lock_register(struct hwspinlock_device *bank, struct device *dev,
const struct hwspinlock_ops *ops, int base_id, int num_locks); const struct hwspinlock_ops *ops, int base_id, int num_locks);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册