[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <5C7165B8-7ED5-444B-BF8B-DA049A432E6D@kernel.crashing.org>
Date: Thu, 24 Nov 2011 13:12:08 -0600
From: Kumar Gala <galak@...nel.crashing.org>
To: Jiri Slaby <jslaby@...e.cz>
Cc: grant.likely@...retlab.ca, linuxppc-dev@...ts.ozlabs.org,
linux-kernel@...r.kernel.org, jirislaby@...il.com
Subject: Re: [PATCH 1/1] SPI: disable CONFIG_SPI_FSL_ESPI=m build
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 CONFIG_SPI_FSL_ESPI to be tristate here.
>
> 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'
> ...
>
> Signed-off-by: Jiri Slaby <jslaby@...e.cz>
> Cc: Grant Likely <grant.likely@...retlab.ca>
> Cc: Kumar Gala <galak@...nel.crashing.org>
> ---
> drivers/spi/Kconfig | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
Acked-by: Kumar Gala <galak@...nel.crashing.org>
- k--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists