diff mbox

[RFC,0/3] spi/xilinx: Merge OF and non-OF drivers

Message ID 4CD7FB27.9030804@monstr.eu (mailing list archive)
State Superseded, archived
Headers show

Commit Message

Michal Simek Nov. 8, 2010, 1:29 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/spi/xilinx_spi.c b/drivers/spi/xilinx_spi.c
index 7adaef6..3612e1b 100644
--- a/drivers/spi/xilinx_spi.c
+++ b/drivers/spi/xilinx_spi.c
@@ -519,6 +519,9 @@  static int __devinit xilinx_spi_probe(struct platform_device *dev)
        }

        platform_set_drvdata(dev, master);
+       /* clear the dma_mask, to try to disable use of dma */
+       dev->dev.dma_mask = 0;
+
        return 0;
 }