projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c102780
)
hwspinlock: Remove redundant config
author
Baolin Wang
<baolin.wang@linaro.org>
Fri, 22 Jun 2018 08:09:01 +0000
(16:09 +0800)
committer
Bjorn Andersson
<bjorn.andersson@linaro.org>
Tue, 26 Jun 2018 20:46:28 +0000
(13:46 -0700)
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>
include/linux/hwspinlock.h
patch
|
blob
|
history
diff --git
a/include/linux/hwspinlock.h
b/include/linux/hwspinlock.h
index
94064cc
..
0afe693
100644
(file)
--- 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)
+#if
def CONFIG_HWSPINLOCK
int hwspin_lock_register(struct hwspinlock_device *bank, struct device *dev,
const struct hwspinlock_ops *ops, int base_id, int num_locks);