Re: [PATCH v3 2/6] spi: core: Add support for registering SPI slave controllers
From: Geert Uytterhoeven
Date: Fri May 05 2017 - 05:07:39 EST
On Thu, May 4, 2017 at 7:45 PM, Geert Uytterhoeven
<geert+renesas@xxxxxxxxx> wrote:
> --- a/include/linux/spi/spi.h
> +++ b/include/linux/spi/spi.h
> @@ -447,6 +448,8 @@ struct spi_master {
> #define SPI_MASTER_MUST_TX BIT(4) /* requires tx */
> #define SPI_MASTER_GPIO_SS BIT(5) /* GPIO CS must select slave */
>
> + bool slave; /* SPI slave controller */
0day reported I forgot to document this new field in kerneldoc, thanks!
Will fix in v4.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds