On Fri, Nov 27, 2015 at 08:26:52PM +0100, Heiner Kallweit wrote: > Am 23.11.2015 um 12:38 schrieb Mark Brown: > > No, for the clients so they aren't peering at the struct. > Sure, do you think of a simple getter like this or a more complex thing? > size_t spi_get_max_msg_size(struct spi_master *master) > { > return master->max_msg_size; > } That's fine, the point is to allow it to get complicated later rather than that we have anything else to put in there right now.