spi: spi-mem: Move the DMA-able constraint doc to the kerneldoc header
We'd better have that documented in the kerneldoc header, so that it's exposed to the doc generated by Sphinx. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:

committed by
Mark Brown

parent
60489f0855
commit
c949a8e8b4
@@ -81,8 +81,8 @@ enum spi_mem_data_dir {
|
|||||||
* @data.dir: direction of the transfer
|
* @data.dir: direction of the transfer
|
||||||
* @data.nbytes: number of data bytes to send/receive. Can be zero if the
|
* @data.nbytes: number of data bytes to send/receive. Can be zero if the
|
||||||
* operation does not involve transferring data
|
* operation does not involve transferring data
|
||||||
* @data.buf.in: input buffer
|
* @data.buf.in: input buffer (must be DMA-able)
|
||||||
* @data.buf.out: output buffer
|
* @data.buf.out: output buffer (must be DMA-able)
|
||||||
*/
|
*/
|
||||||
struct spi_mem_op {
|
struct spi_mem_op {
|
||||||
struct {
|
struct {
|
||||||
@@ -105,7 +105,6 @@ struct spi_mem_op {
|
|||||||
u8 buswidth;
|
u8 buswidth;
|
||||||
enum spi_mem_data_dir dir;
|
enum spi_mem_data_dir dir;
|
||||||
unsigned int nbytes;
|
unsigned int nbytes;
|
||||||
/* buf.{in,out} must be DMA-able. */
|
|
||||||
union {
|
union {
|
||||||
void *in;
|
void *in;
|
||||||
const void *out;
|
const void *out;
|
||||||
|
Reference in New Issue
Block a user