spi: docbook: fix parsing error
Fixes docbook parsing error because documentation is not directly followed by the structure, but typedef used in structure. Reordering should solve that issue. Signed-off-by: Martin Sperl <kernel@martin.sperl.org> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
d780c3711d
commit
d649781683
|
@ -586,6 +586,10 @@ extern struct spi_master *spi_busnum_to_master(u16 busnum);
|
||||||
* SPI resource management while processing a SPI message
|
* SPI resource management while processing a SPI message
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
typedef void (*spi_res_release_t)(struct spi_master *master,
|
||||||
|
struct spi_message *msg,
|
||||||
|
void *res);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* struct spi_res - spi resource management structure
|
* struct spi_res - spi resource management structure
|
||||||
* @entry: list entry
|
* @entry: list entry
|
||||||
|
@ -595,9 +599,6 @@ extern struct spi_master *spi_busnum_to_master(u16 busnum);
|
||||||
* this is based on ideas from devres, but focused on life-cycle
|
* this is based on ideas from devres, but focused on life-cycle
|
||||||
* management during spi_message processing
|
* management during spi_message processing
|
||||||
*/
|
*/
|
||||||
typedef void (*spi_res_release_t)(struct spi_master *master,
|
|
||||||
struct spi_message *msg,
|
|
||||||
void *res);
|
|
||||||
struct spi_res {
|
struct spi_res {
|
||||||
struct list_head entry;
|
struct list_head entry;
|
||||||
spi_res_release_t release;
|
spi_res_release_t release;
|
||||||
|
|
Loading…
Reference in New Issue