1
0
Fork 0

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>
hifive-unleashed-5.1
Baolin Wang 2018-06-22 16:09:01 +08:00 committed by Bjorn Andersson
parent c102780acd
commit 2ceda54c44
1 changed files with 1 additions and 1 deletions

View File

@ -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);