Re: [PATCH 1/1] SPI: disable CONFIG_SPI_FSL_ESPI=m build
From: Kumar Gala <hidden>
Date: 2011-11-24 19:14:23
Also in:
lkml
From: Kumar Gala <hidden>
Date: 2011-11-24 19:14:23
Also in:
lkml
On Nov 24, 2011, at 4:41 AM, Jiri Slaby wrote:
When spi_fsl_espi is chosen to be built as a module, there is a build error because we test only CONFIG_SPI_FSL_ESPI in declaration of struct mpc8xxx_spi in drivers/spi/spi_fsl_lib.h. Also some called functions are not exported. =20 So we forbid CONFIG_SPI_FSL_ESPI to be tristate here. =20 The error looks like: drivers/spi/spi_fsl_espi.c: In function 'fsl_espi_bufs': drivers/spi/spi_fsl_espi.c:232: error: 'struct mpc8xxx_spi' has no =
member named 'len'
... =20 Signed-off-by: Jiri Slaby <redacted> Cc: Grant Likely <redacted> Cc: Kumar Gala <redacted> --- drivers/spi/Kconfig | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
Acked-by: Kumar Gala <redacted> - k=