OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72e6841
)
spi: spi-mem: Make spi_mem_default_supports_op() static inline
author
YueHaibing
<yuehaibing@huawei.com>
Wed, 10 Apr 2019 13:18:28 +0000
(21:18 +0800)
committer
Mark Brown
<broonie@kernel.org>
Thu, 2 May 2019 01:37:46 +0000
(10:37 +0900)
Stub helper spi_mem_default_supports_op() should
be set to static inline
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/linux/spi/spi-mem.h
patch
|
blob
|
history
diff --git
a/include/linux/spi/spi-mem.h
b/include/linux/spi/spi-mem.h
index
1941b84
..
af9ff2f
100644
(file)
--- a/
include/linux/spi/spi-mem.h
+++ b/
include/linux/spi/spi-mem.h
@@
-315,6
+315,7
@@
spi_controller_dma_unmap_mem_op_data(struct spi_controller *ctlr,
{
}
+static inline
bool spi_mem_default_supports_op(struct spi_mem *mem,
const struct spi_mem_op *op)
{