summaryrefslogtreecommitdiff
path: root/include/linux/spi
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-04-10 21:18:28 +0800
committerMark Brown <broonie@kernel.org>2019-05-02 10:37:46 +0900
commitb5881b153bc81d63a5a7e82a35e8a4bdbe1f8c73 (patch)
treeea1411404115c59bf4aafac04b8ac30c15bad114 /include/linux/spi
parent72e6841608b9ce7e04515ed43693b2878936c93a (diff)
spi: spi-mem: Make spi_mem_default_supports_op() static inline
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>
Diffstat (limited to 'include/linux/spi')
-rw-r--r--include/linux/spi/spi-mem.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/spi/spi-mem.h b/include/linux/spi/spi-mem.h
index 1941b845aa15..af9ff2f0f1b2 100644
--- 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)
{