diff options
author | Mark Brown <broonie@kernel.org> | 2017-04-26 15:57:58 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-04-26 15:57:58 +0100 |
commit | 42b1eadf4ead6e7d68f47cd985daa244823c96d3 (patch) | |
tree | be921c2ae5753c2bc4a25c5ba2dc0e9f8e5cd02e /include/linux/spi | |
parent | fbf3d36cb4c960b27b9c2e391d24127c5ec17a3a (diff) | |
parent | 833bfade96561216aa2129516a5926a0326860a2 (diff) | |
download | op-kernel-dev-42b1eadf4ead6e7d68f47cd985daa244823c96d3.zip op-kernel-dev-42b1eadf4ead6e7d68f47cd985daa244823c96d3.tar.gz |
Merge remote-tracking branch 'spi/topic/core' into spi-next
Diffstat (limited to 'include/linux/spi')
-rw-r--r-- | include/linux/spi/spi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/spi/spi.h b/include/linux/spi/spi.h index 75c6bd0..3b00706 100644 --- a/include/linux/spi/spi.h +++ b/include/linux/spi/spi.h @@ -891,7 +891,7 @@ static inline struct spi_message *spi_message_alloc(unsigned ntrans, gfp_t flags unsigned i; struct spi_transfer *t = (struct spi_transfer *)(m + 1); - INIT_LIST_HEAD(&m->transfers); + spi_message_init_no_memset(m); for (i = 0; i < ntrans; i++, t++) spi_message_add_tail(t, m); } |