From: Baolin Wang Date: Fri, 22 Jun 2018 08:09:01 +0000 (+0800) Subject: hwspinlock: Remove redundant config X-Git-Tag: v4.19-rc1~91^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2ceda54c44530b8e46363b0b12201855da5fd631;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Bjorn Andersson --- diff --git a/include/linux/hwspinlock.h b/include/linux/hwspinlock.h index 94064cce69620..0afe693be5f49 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);