Skip to content

Commit b5881b1

Browse files
YueHaibingbroonie
authored andcommitted
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 <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent 72e6841 commit b5881b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/linux/spi/spi-mem.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ spi_controller_dma_unmap_mem_op_data(struct spi_controller *ctlr,
315315
{
316316
}
317317

318+
static inline
318319
bool spi_mem_default_supports_op(struct spi_mem *mem,
319320
const struct spi_mem_op *op)
320321
{

0 commit comments

Comments
 (0)