[PATCH 1/1] SPI: disable CONFIG_SPI_FSL_ESPI=m build

2011-11-24 Thread Jiri Slaby
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. So we forbid CONFIG_SPI_FSL_ESPI to be tristate here. The error

Re: [PATCH 1/1] SPI: disable CONFIG_SPI_FSL_ESPI=m build

2011-11-24 Thread Kumar Gala
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. So we forbid