linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] xilinx_spi: Add the platform driver to the Kconfig
@ 2009-11-11 16:38 Richard Röjfors
  2009-11-11 21:36 ` Grant Likely
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Röjfors @ 2009-11-11 16:38 UTC (permalink / raw)
  To: spi-devel-general; +Cc: linuxppc-dev, Andrew Morton, dbrownell, John Linn

This patch adds the xilinx_spi_pltfm to the SPI Kconfig and Makefile.

The xilinx_spi_pltfm was added in a previous patchset.

Signed-off-by: Richard Röjfors <richard.rojfors@mocean-labs.com>
---
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index b956284..d1f8ee3 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -252,6 +252,13 @@ config SPI_XILINX_OF
 	help
 	  This is the OF driver for the SPI controller IP from the Xilinx EDK.

+config SPI_XILINX_PLTFM
+	tristate "Xilinx SPI controller platform device"
+	depends on SPI_XILINX
+	help
+	  This is the platform driver for the SPI controller IP
+	  from the Xilinx EDK.
+
 #
 # Add new SPI master controllers in alphabetical order above this line
 #
diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile
index 97dee8f..d8b0e4c 100644
--- a/drivers/spi/Makefile
+++ b/drivers/spi/Makefile
@@ -32,6 +32,7 @@ obj-$(CONFIG_SPI_S3C24XX)		+= spi_s3c24xx.o
 obj-$(CONFIG_SPI_TXX9)			+= spi_txx9.o
 obj-$(CONFIG_SPI_XILINX)		+= xilinx_spi.o
 obj-$(CONFIG_SPI_XILINX_OF)		+= xilinx_spi_of.o
+obj-$(CONFIG_SPI_XILINX_PLTFM)		+= xilinx_spi_pltfm.o
 obj-$(CONFIG_SPI_SH_SCI)		+= spi_sh_sci.o
 obj-$(CONFIG_SPI_STMP3XXX)		+= spi_stmp.o
 # 	... add above this line ...

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] xilinx_spi: Add the platform driver to the Kconfig
  2009-11-11 16:38 [PATCH v2] xilinx_spi: Add the platform driver to the Kconfig Richard Röjfors
@ 2009-11-11 21:36 ` Grant Likely
  0 siblings, 0 replies; 2+ messages in thread
From: Grant Likely @ 2009-11-11 21:36 UTC (permalink / raw)
  To: Richard Röjfors
  Cc: spi-devel-general, Andrew Morton, dbrownell, John Linn, linuxppc-dev

On Wed, Nov 11, 2009 at 9:38 AM, Richard Röjfors
<richard.rojfors@mocean-labs.com> wrote:
> This patch adds the xilinx_spi_pltfm to the SPI Kconfig and Makefile.
>
> The xilinx_spi_pltfm was added in a previous patchset.

I assume this will just get rolled into your series when you respin
for the next version.

g.

>
> Signed-off-by: Richard Röjfors <richard.rojfors@mocean-labs.com>
> ---
> diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
> index b956284..d1f8ee3 100644
> --- a/drivers/spi/Kconfig
> +++ b/drivers/spi/Kconfig
> @@ -252,6 +252,13 @@ config SPI_XILINX_OF
>        help
>          This is the OF driver for the SPI controller IP from the Xilinx EDK.
>
> +config SPI_XILINX_PLTFM
> +       tristate "Xilinx SPI controller platform device"
> +       depends on SPI_XILINX
> +       help
> +         This is the platform driver for the SPI controller IP
> +         from the Xilinx EDK.
> +
>  #
>  # Add new SPI master controllers in alphabetical order above this line
>  #
> diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile
> index 97dee8f..d8b0e4c 100644
> --- a/drivers/spi/Makefile
> +++ b/drivers/spi/Makefile
> @@ -32,6 +32,7 @@ obj-$(CONFIG_SPI_S3C24XX)             += spi_s3c24xx.o
>  obj-$(CONFIG_SPI_TXX9)                 += spi_txx9.o
>  obj-$(CONFIG_SPI_XILINX)               += xilinx_spi.o
>  obj-$(CONFIG_SPI_XILINX_OF)            += xilinx_spi_of.o
> +obj-$(CONFIG_SPI_XILINX_PLTFM)         += xilinx_spi_pltfm.o
>  obj-$(CONFIG_SPI_SH_SCI)               += spi_sh_sci.o
>  obj-$(CONFIG_SPI_STMP3XXX)             += spi_stmp.o
>  #      ... add above this line ...
>



-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-11 21:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-11 16:38 [PATCH v2] xilinx_spi: Add the platform driver to the Kconfig Richard Röjfors
2009-11-11 21:36 ` Grant Likely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).