]> nv-tegra.nvidia Code Review - linux-2.6.git/commitdiff
Merge branch 'next-spi' of git://git.secretlab.ca/git/linux-2.6
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 17 Dec 2009 23:59:05 +0000 (15:59 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 17 Dec 2009 23:59:05 +0000 (15:59 -0800)
* 'next-spi' of git://git.secretlab.ca/git/linux-2.6:
  spi: spi_txx9.c: use resource_size()
  spi: spi_sh_sci.c: use resource_size()
  spi: spi_mpc8xxx.c: use resource_size()
  spi: spi_bfin5xx.c: use resource_size()
  spi: atmel_spi.c: use resource_size()
  spi: Add s3c64xx SPI Controller driver
  atmel_spi: fix dma addr calculation for len > BUFFER_SIZE
  spi_s3c24xx: add FIQ pseudo-DMA support
  spi: controller driver for Designware SPI core
  spidev: add proper section markers
  spidev: use DECLARE_BITMAP instead of declaring the array

1  2 
drivers/spi/Kconfig
drivers/spi/spi_mpc8xxx.c
drivers/spi/spi_s3c24xx.c
drivers/spi/spi_txx9.c
drivers/spi/spidev.c

Simple merge
index e9390d747bfcf35e018747fcfc6a1b2e529ef486,797226cb7ef1f01613dd63f3226220b94e104a2a..1fb2a6ea328cfcff9ce8ec3a03700f3bec729947
@@@ -1013,10 -566,10 +1013,10 @@@ mpc8xxx_spi_probe(struct device *dev, s
  
        init_completion(&mpc8xxx_spi->done);
  
-       mpc8xxx_spi->base = ioremap(mem->start, mem->end - mem->start + 1);
+       mpc8xxx_spi->base = ioremap(mem->start, resource_size(mem));
        if (mpc8xxx_spi->base == NULL) {
                ret = -ENOMEM;
 -              goto put_master;
 +              goto err_ioremap;
        }
  
        mpc8xxx_spi->irq = irq;
Simple merge
Simple merge
Simple merge