On Wed, Oct 30, 2013 at 07:33:30PM +0100, Martin Sperl wrote: > I have seen your email and I have checked 3.12-rc7: > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/include/linux/spi/spi.h?id=refs/tags/v3.12-rc7 > (Assuming this is the latest, but I would say that the version of Linus would > be authoritative) No, look in -next (or the SPI tree which you can see in MAINTAINERS): git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git > The following would go into struct spi_master: > int (*prepare_message)(struct spi_device *dev,struct spi_message *mesg); > int (*unprepare_message)(struct spi_device *dev,struct spi_message *mesg); Which, like I say, is exactly what's there in terms of a driver API.