diff mbox

link dw_spi.o with the kernel objects

Message ID 20100121153254.18310.27155.stgit@station520.octasic.com (mailing list archive)
State Superseded
Headers show

Commit Message

Jean-Hugues Deschenes Jan. 21, 2010, 3:33 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile
index c3e5ce7..e061b71 100644
--- a/drivers/spi/Makefile
+++ b/drivers/spi/Makefile
@@ -16,9 +16,10 @@  obj-$(CONFIG_SPI_BFIN)			+= spi_bfin5xx.o
 obj-$(CONFIG_SPI_BITBANG)		+= spi_bitbang.o
 obj-$(CONFIG_SPI_AU1550)		+= au1550_spi.o
 obj-$(CONFIG_SPI_BUTTERFLY)		+= spi_butterfly.o
-obj-$(CONFIG_SPI_DESIGNWARE)		+= dw_spi.o
-obj-$(CONFIG_SPI_DW_PCI)		+= dw_spi_pci.o
-obj-$(CONFIG_SPI_DW_MMIO)		+= dw_spi_mmio.o
+obj-$(CONFIG_SPI_DW_PCI)		+= dw_spi_pci_drv.o
+dw_spi_pci_drv-objs				:= dw_spi_pci.o dw_spi.o
+obj-$(CONFIG_SPI_DW_MMIO)		+= dw_spi_mmio_drv.o
+dw_spi_mmio_drv-objs			:= dw_spi_mmio.o dw_spi.o
 obj-$(CONFIG_SPI_GPIO)			+= spi_gpio.o
 obj-$(CONFIG_SPI_IMX)			+= spi_imx.o
 obj-$(CONFIG_SPI_LM70_LLP)		+= spi_lm70llp.o